Open Bug 1360763 Opened 8 years ago Updated 2 years ago

In case the thread has no other pending events, iCC could continue running its slice over the budget

Categories

(Core :: Cycle Collector, enhancement, P3)

36 Branch
enhancement

Tracking

()

People

(Reporter: smaug, Unassigned)

Details

This would need some testing, but I wonder if there are cases when we just stop running iCC slice and wait for the next slice even though there isn't really anything else pending in the event loop. We could easily check at the end of a budget whether there are pending events, and if not, just continue running iCC. (this is on child processes at least where event loop handling is simpler - in general no need to check pending OS events) Same applies to iGC too.
Priority: -- → P3
Severity: normal → S3
Component: XPCOM → Cycle Collector
You need to log in before you can comment on or make changes to this bug.