Open Bug 1906672 Opened 7 months ago Updated 7 months ago

Investigate whether we need to run prebarriers when collecting the nursery

Categories

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

task

Tracking

()

People

(Reporter: jonco, Unassigned)

References

(Blocks 1 open bug)

Details

Pre-barriers are used to ensure correctness of incremental marking. We do not run them during major GC finalization as this is not required. Nursery collection may also call finalizers however (e.g. for Map/SetObject) and this may call prebarriers. I don't think this is required for correctness and if not we should disable them to help performance.

Blocks: GC
Severity: -- → N/A
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.