Break up PerformAsyncLaunch
Categories
(Core :: IPC, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: bholley, Assigned: bholley)
References
Details
Attachments
(3 files)
PerformAsyncLaunch is an enormous pile of nested #ifdefs. I've refactored it into a per-platform inheritance hierarchy with method overrides, which makes it much easier to work with.
This depends on the refactoring in bug 1562763, and facilitates the asynchronous conversion in bug 1562762.
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
I'm not convinced the current comment about being race-free is accurate
in context of the launcher pool. It probably is correct under this
patch, because ProcessLaunchers should only be constructed on a single
thread, but it's easy enough just to make it atomic.
Hopefully moving the timestamp doesn't perturb telemetry too much.
Assignee | ||
Comment 5•6 years ago
|
||
Comment 7•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/79629d87282a
https://hg.mozilla.org/mozilla-central/rev/3f03d5f1ebfb
https://hg.mozilla.org/mozilla-central/rev/fd887713ac62
Description
•