Closed
Bug 1341044
Opened 7 years ago
Closed 7 years ago
Rename the GC's concept of a zone group now we also have ZoneGroup
Categories
(Core :: JavaScript: GC, defect)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
Details
Attachments
(1 file)
59.90 KB,
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
Before there was ZoneGroup, the GC had a concept of a group of zones that were swept at the same time as part of incremental sweeping. We should rename these to something else to avoid confusion.
Comment 1•7 years ago
|
||
Hrm, naming. zone batch zone sweep group zone connected set zone connected component zone component zone clique (but I think that's a misuse here) zone hairball zone closure (from "transitive closure") sweep group zone collection megazone zoneball superzone
Comment 2•7 years ago
|
||
How about "zone sweep suite".
Comment 3•7 years ago
|
||
(In reply to Andrew McCreight [:mccr8] from comment #2) > How about "zone sweep suite". Only if you post a video proving that you can say it properly 10 times in a row, in less than 10 seconds.
Assignee | ||
Comment 4•7 years ago
|
||
I went with 'sweep group', which is a little clunky in places (e.g. beginSweepingSweepGroup) but at least it's explicit. For the public callbacks I chose e.g. JS_AddWeakPointerZonesCallback to go with the existing JS_AddWeakPointerCompartmentCallback.
Assignee: nobody → jcoppeard
Attachment #8849953 -
Flags: review?(sphink)
Comment 5•7 years ago
|
||
Comment on attachment 8849953 [details] [diff] [review] bug1341044-rename-gc-zone-group Review of attachment 8849953 [details] [diff] [review]: ----------------------------------------------------------------- WFM. And some of the new names are *much* better; it really helps to have "sweep" in the name to avoid confusion over why the zones are being grouped. ::: js/src/gc/Zone.cpp @@ +164,1 @@ > // groups. In this case both script and debugger object must be Missed one at EOL. ::: js/src/jsgc.cpp @@ +80,4 @@ > * > * Slice n+1: Sweep: Mark objects in unswept zones that were newly > * identified as alive (see below). Then sweep more zone > * groups. Missed one here. And I'd probably spell it out as "zone sweep groups" here, though you can leave the shorter "zones" in the next one.
Attachment #8849953 -
Flags: review?(sphink) → review+
Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/b886ec9acd35 Rename the GC's 'zone group' concept to 'sweep group' r=sfink
Comment 7•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b886ec9acd35
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
•