Closed Bug 1331173 Opened 3 years ago Closed 3 years ago

Bigger Header segment capacity for TaskTracer

Categories

(Core :: IPC, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: sinker, Assigned: sinker)

References

Details

Attachments

(1 file, 1 obsolete file)

When TaskTracer is enabled at run-time, the size of |IPC::Message::Header| would grow.  For MacOSX, its size is bigger than the default header segment capacity.  So, |kHeaderSegmentCapacity| should be increased for TaskTracer.
Bill, without this change, deserializing would be broken for MacOSX when TaskTracer is enabled.
Attachment #8826837 - Flags: review?(wmccloskey)
Comment on attachment 8826837 [details] [diff] [review]
Increase header segment capacity for TaskTracer

Review of attachment 8826837 [details] [diff] [review]:
-----------------------------------------------------------------

::: ipc/chromium/src/base/pickle.cc
@@ +28,3 @@
>  static const uint32_t kHeaderSegmentCapacity = 64;
> +#else
> +static const uint32_t kHeaderSegmentCapacity = 128;

Please comment than TaskTracer uses some extra fields in the header.
Attachment #8826837 - Flags: review?(wmccloskey) → review+
Assignee: nobody → tlee
Blocks: 1323076
Keywords: checkin-needed
Attachment #8826837 - Attachment is obsolete: true
Attachment #8845842 - Flags: review+
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/68e6acf47dab
Increase header segment capacity for TaskTracer. r=billm
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/68e6acf47dab
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.