Closed
Bug 1540731
Opened 6 years ago
Closed 6 years ago
Have IPC code hold a reference to keep the actor alive
Categories
(Core :: IPC, enhancement, P2)
Core
IPC
Tracking
()
RESOLVED
FIXED
mozilla69
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: nika, Assigned: nika)
References
(Blocks 3 open bugs)
Details
Attachments
(3 files, 2 obsolete files)
This would add IPCAddRef
and IPCRelease
methods which control when the DeallocPProtocol
method is called, and also introduce an IPCRefPtr<T>
type which is used internally to manage this IPC reference count. These counts are not intended to be used outside of IPC, but rather as a temporary solution until bug 1509143 is able to be fully implemented.
Assignee | ||
Comment 1•6 years ago
|
||
This is an initial version of the patch for this bug, however it doesn't
successfully pass browser startup. Unfortunately, currently the browser will
crash when attempting to migrate an IPC blob actor.
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Updated•6 years ago
|
Attachment #9060262 -
Attachment is obsolete: true
Updated•6 years ago
|
Attachment #9054888 -
Attachment is obsolete: true
Pushed by nlayzell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d30842e4cfea
Part 1: Manage actor object lifecycles within IPC, r=froydnj
https://hg.mozilla.org/integration/autoland/rev/89b214d41e50
Part 2: Move toplevel actors to override ActorDestroy, r=froydnj
https://hg.mozilla.org/integration/autoland/rev/11450b71e95e
Part 3: Stop releasing actors within ActorDestroy, r=mayhemer
Comment 7•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d30842e4cfea
https://hg.mozilla.org/mozilla-central/rev/89b214d41e50
https://hg.mozilla.org/mozilla-central/rev/11450b71e95e
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox69:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in
before you can comment on or make changes to this bug.
Description
•