Open Bug 1801575 Opened 3 years ago Updated 3 years ago

Throttle timers during GC background activity

Categories

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

enhancement

Tracking

()

People

(Reporter: pbone, Unassigned)

References

(Blocks 1 open bug)

Details

In Bug 1772806 we see the GC Scheduler entering a polling behaviour when GC work is happening off-thread such as background unmarking. Although that doesn't contirbute to that bug it's not helping.

We could pause the GC timers during this but would have to wake them up again when the background work finishes (Bug 1772806 comment 11) and we'd also have to add further state to GCCCScheduler. I believe we're better-off throttling the timers do they do continue to poll but do it less often.

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