Shut down IPDL actors when the thread they're bound to is shut down
Categories
(Core :: IPC, enhancement)
Tracking
()
People
(Reporter: nika, Assigned: nika)
References
Details
Attachments
(1 file)
This tracks building upon bug 1738103 to shut down IPDL actors when the nsISerialEventTarget they're bound to is shut down.
Assignee | ||
Comment 1•3 years ago
|
||
Depends on D129840
Pushed by nlayzell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/88be1ad60435 Shutdown IPC actors during EventTarget shutdown, r=ipc-reviewers,mccr8
Comment 3•2 years ago
|
||
bugherder |
Comment 4•2 years ago
|
||
== Change summary for alert #33695 (as of Tue, 29 Mar 2022 16:59:54 GMT) ==
Improvements:
Ratio | Test | Platform | Options | Absolute values (old vs new) |
---|---|---|---|---|
5% | Base Content Resident Unique Memory | windows10-64-2004-shippable-qr | 9,540,096.00 -> 9,109,162.67 | |
4% | Base Content Resident Unique Memory | windows10-64-2004-shippable-qr | 9,427,882.67 -> 9,069,397.33 |
For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=33695
Comment 5•2 years ago
|
||
BTW, I am not sure I like the naming here. We have way too many meanings of "shutdown" and started to move towards ShutdownPhase
for general shutdown things to be more precise on when in shutdown. This here has nothing to do with general shutdown, it is just the thread's end. So what about:
RegisterShutdownTask
-> RegisterEndOfThreadTask
UnregisterShutdownTask
-> UnregisterEndOfThreadTask
RunShutdownTasks
-> RunEndOfThreadTasks
?
Comment 6•2 years ago
•
|
||
Backed out changeset 88be1ad60435 (bug 1738104) for issues in (bug 1762604), a=backout from 100.0b6
back out link: https://hg.mozilla.org/releases/mozilla-beta/rev/6912c9205930de01ffd34446debbf8fffe92fd9b
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 7•2 years ago
|
||
This was only backed out from beta at the time, so it's fixed now.
Description
•