Closed Bug 1645540 Opened 1 year ago Closed 1 year ago

Fix IpdlQueue handling of arguments with imprecise MinSize estimate

Categories

(Core :: Canvas: WebGL, task, P1)

task

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: handyman, Assigned: handyman)

Details

Attachments

(1 file)

MinSize is usually 100% accurate but, if it is below the actual size needed for serialization, IpdlQueue won't properly size its internal buffer to receive the data.

When inserting an argument into the IpdlQueue for transmission, we need to resize the internal buffer if we end up with more data than expected.

Pushed by daparks@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/66f58c30c028
Make IpdlQueue resize buffers when initial deserialization estimate was low r=jgilbert
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.