Closed Bug 1091258 Opened 10 years ago Closed 10 years ago

Add a move constructor for IPC::Message

Categories

(Core :: IPC, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: billm, Unassigned)

Details

See https://bugzilla.mozilla.org/show_bug.cgi?id=1062713#c30. We move messages around a lot, and each time we're allocating a new buffer, copying the data, and deleting the old buffer. It's not at all uncommon to have 32KB buffers, so this is really wasteful.
I already started looking at this in bug 1092010, so I'm just going to dupe it forward there.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.