Closed
Bug 1847019
Opened 2 years ago
Closed 2 years ago
Optimize marking atoms used by uncollected zones
Categories
(Core :: JavaScript: GC, enhancement, P3)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
118 Branch
| Tracking | Status | |
|---|---|---|
| firefox118 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
Details
Attachments
(1 file)
I noticed a couple of small improvements that could be made to atom marking in AtomMarkingRuntime::markAtomsUsedByUncollectedZones.
Currently we always allocate a bitmap to hold the union of mark bits from uncollected zones even though this is only useful when there is more than one uncollected zone. If there's only one zone we don't need the intermediate bitmap, and if there are no zones then there is no work to do at all.
| Assignee | ||
Comment 1•2 years ago
|
||
This patch skips marking atoms unsed by uncollected zones if there are no
uncollected zones. Also it skips allocating a bitmap for the union of atoms to
mark if there's only one zone.
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/df89b6fec938
Skip unnecessary atom marking work r=sfink
Comment 3•2 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox118:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•