Count marked cells when finalizing rather then when marking
Categories
(Core :: JavaScript: GC, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
Details
Attachments
(1 file)
We report telemetry on the marking rate, calculated from the number of cells marked and the time we spent in the marking phase.
The count of marked cells is calculated when marking but this is unnecessary because we already count the number of cells marked when we finalize arenas (and this mainly happens off thread).
This (slightly) simplifies marking.
There is a small discrepancy because this doesn't count atoms that are marked when we are not collecting the atoms zone, so this may affect the reported mark rate a little. I don't think it's important that this is accurate though, it's there to tell us if we regress marking preformance.
Assignee | ||
Comment 1•3 years ago
|
||
We already count the number of marked cells when finalizing arenas so use that
instead of counting in the mark phase as well.
Comment 3•3 years ago
|
||
bugherder |
Description
•