Closed
Bug 1126865
Opened 9 years ago
Closed 9 years ago
Minor refactoring of GCRuntime::incrementalCollectSlice() and sweepPhase()
Categories
(Core :: JavaScript: GC, defect)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
mozilla38
People
(Reporter: jonco, Assigned: jonco)
Details
Attachments
(2 files)
5.54 KB,
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
11.92 KB,
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
Factor out a function to sweep a list of arenas from GCRuntime::sweepPhase().
Attachment #8555932 -
Flags: review?(sphink)
Assignee | ||
Comment 2•9 years ago
|
||
Use an enum to indicate whether an incremental collection phase has finished or not, and get rid of 'bool finished' in GCRuntime::incrementalCollectSlice().
Attachment #8555936 -
Flags: review?(sphink)
Comment 3•9 years ago
|
||
Comment on attachment 8555936 [details] [diff] [review] bug1126865-refactor-ics Review of attachment 8555936 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/jsgc.cpp @@ +5291,5 @@ > > endSweepingZoneGroup(); > getNextZoneGroup(); > if (!currentZoneGroup) > + return Finished; /* We're finished. */ Please eliminate this comment and all of the /* Yield to the mutator. */ comments now. I liked having them before your change, but they were never consistently applied, and your enum is *way* better.
Attachment #8555936 -
Flags: review?(sphink) → review+
Updated•9 years ago
|
Attachment #8555932 -
Flags: review?(sphink) → review+
Assignee | ||
Comment 4•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/8e450ff88d61 https://hg.mozilla.org/integration/mozilla-inbound/rev/4aa870ca28d6
https://hg.mozilla.org/mozilla-central/rev/4aa870ca28d6 https://hg.mozilla.org/mozilla-central/rev/8e450ff88d61
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in
before you can comment on or make changes to this bug.
Description
•