Closed
Bug 950949
Opened 11 years ago
Closed 11 years ago
Run extra forgetSkippable calls per CC not per slice
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: mccr8, Assigned: mccr8)
References
Details
Attachments
(1 file)
5.24 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
The extra forget skippable logic should be moved out of PrepareForCycleCollectionSlice and into BeginCycleCollectionCallback. This will require passing the extra forget skippable count via gCCStats.
This will fix the case where the browser is in the middle of an ICC, then nsJSContext::CycleCollectNow gets called with positive aExtraForgetSkippableCalls, which get triggered before the ICC is finished, and thus ignored. This will also let us turn the dynamic check in nsCycleCollector::ForgetSkippable that we're idle into an assert.
I think this isn't pressing because we don't request extra forgetSkippable calls in normal circumstances, but it should be a nice cleanup.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → continuation
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8355024 -
Flags: review?(bugs)
Updated•11 years ago
|
Attachment #8355024 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 2•11 years ago
|
||
Comment 3•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in
before you can comment on or make changes to this bug.
Description
•