Closed Bug 1747273 Opened 3 years ago Closed 3 years ago

Ignore the GC interrupt flag if the GC goes on for too long

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: sfink, Assigned: sfink)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Bug 1672121 introduces the risk of a GC getting constantly interrupted and being unable to finish an incremental collection. CCGCScheduler::ComputeInterSliceGCBudget will try to start lengthening the slices, but they're still interruptible. Eventually, the GC will take long enough that it will be finished non-incrementally.

It would be safer if the interrupt flag started getting ignored at some point, perhaps at the same time the slices start getting stretched?

Assignee: nobody → sphink
Status: NEW → ASSIGNED
Severity: -- → N/A
Priority: -- → P1
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bd91af1f54bb Ignore the GC interrupt if the GC is running long r=smaug
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: