Closed Bug 1668326 Opened 5 years ago Closed 5 years ago

The GC traces atoms when updating moved runtime pointers during compacting GC

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: jonco, Assigned: jonco)

Details

Attachments

(1 file)

I just noticed that we trace atom roots during compacting GC to update them. We don't move atoms so this is unnecessary. Furthermore there can be a lot of atoms in the browser so this is undesirable.

We never move atoms so we don't need to trace them here.

I renames JitRuntime::Trace to make it clear that it's tracing things in the atoms zone.

Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4b0682d4bcbd Skip tracing atoms during compacting GC r=sfink
Severity: -- → N/A
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: