Closed Bug 1645113 Opened 6 months ago Closed 6 months ago

Don't sweep arenas that were allocated during marking

Categories

(Core :: JavaScript: GC, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: jonco, Assigned: jonco)

Details

Attachments

(1 file)

Currently we sweep arenas that were allocated during marking in an incremental collection. This is unnecessary as everything allocated after the start of marking is considered marked.

The patch adds areanas allocated during marking into a separate set of arenas lists, which are not swept but are merged back into the main arena lists at the end of sweeping.

We do need to do some sweeping for newly allocated arenas on account of type inference data. I haven't looked too hard into why this is.

Attachment #9156018 - Attachment description: Bug 1645113 - Don't sweep arenas that were allocated during marking, which cannot contain any dead cells r?sfink → Bug 1645113 - Don't sweep arenas that were allocated during marking asa they cannot contain any dead cells r?sfink
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5742bc131451
Don't sweep arenas that were allocated during marking asa they cannot contain any dead cells r=sfink
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.