Closed
Bug 1367164
Opened 7 years ago
Closed 7 years ago
Use IdleDispatch for async snow white killer on main thread
Categories
(Core :: XPCOM, enhancement)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: smaug, Assigned: smaug)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
mccr8
:
review+
|
Details | Diff | Splinter Review |
Bug 1311425 will make this stuff work nicer way, but this should be still ok even now. Note, I'm explicitly not using deadlines here, just move the stuff to start at idle period to keep this simple. Possible followup bugs can use deadlines, but I'm not sure how useful that would be in this case since if there are lots of objects to delete, we shouldn't postpone that work too much. In cases there are no idle periods, forget skippable and CC runs will kill snow white objects. Let's see what tryserver says about this https://treeherder.mozilla.org/#/jobs?repo=try&revision=dc6781600b0c947ffc4b49485844d759d60bfe1d
Attachment #8870510 -
Flags: review?(continuation)
Assignee | ||
Comment 2•7 years ago
|
||
As of now IdleDispatch is nsIThread level concept, not nsIEventTarget.
Updated•7 years ago
|
Attachment #8870510 -
Flags: review?(continuation) → review+
Comment 3•7 years ago
|
||
As discussed in IRC, we need some additional work to make labeling stuff work with idle dispatch. Bill said it would be better to do this now, and fix the idle dispatch stuff later.
Assignee | ||
Comment 4•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=d36ee6a04782c8ee4e818790c33f4456b4666185 Maybe try likes this better. Things brings back the old dispatch-to-current-logic which was there before labeling.
Attachment #8870510 -
Attachment is obsolete: true
Attachment #8870534 -
Flags: review?(continuation)
Updated•7 years ago
|
Attachment #8870534 -
Flags: review?(continuation) → review+
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/0daf960b8d19 Use IdleDispatch for async snow white killer on main thread, r=mccr8
![]() |
||
Comment 6•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0daf960b8d19
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•