Closed Bug 1738104 Opened 3 years ago Closed 2 years ago

Shut down IPDL actors when the thread they're bound to is shut down

Categories

(Core :: IPC, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox100 --- wontfix
firefox101 --- fixed

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.

Pushed by nlayzell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/88be1ad60435
Shutdown IPC actors during EventTarget shutdown, r=ipc-reviewers,mccr8
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch

== 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

Regressions: 1762299

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

?

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

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 100 Branch → 101 Branch
See Also: → 1764119
Regressions: 1765393

This was only backed out from beta at the time, so it's fixed now.

Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: