Open Bug 1810954 Opened 1 year ago Updated 1 year ago

Experiment with switching jemalloc arenas before collecting

Categories

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

task

Tracking

()

People

(Reporter: pbone, Unassigned)

References

(Depends on 1 open bug, Blocks 3 open bugs)

Details

(Whiteboard: [sp3])

We've seen thread contention in the jemalloc arena for the JS engine when off-thread sweeping or feeing is happening in the JS engine. I wonder if having pairs of arenas that we switch between at the start of a GC so that (assuming the generational hypothesis) new allocations occur in arena A while most frees occur in arena B would avoid some contention.

Severity: -- → N/A
Priority: -- → P2
Blocks: 1809610
Whiteboard: [sp3]
Depends on: 1814815
You need to log in before you can comment on or make changes to this bug.