Closed Bug 1632775 Opened 4 years ago Closed 4 years ago

Record GC trigger data per slice rather than per collection

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: jonco, Assigned: jonco)

Details

Attachments

(3 files)

Currently this is recorded per collection which is confusing and means that we don't see correct trigger amounts in the profiler.

Currently we check heap thresholds after collecting the nursery but then clear majorGCTriggerReason if it was set. This leaves the trigger amounts set in the Statistics object.

Depends on D72383

Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7725b8236280
Record triggers per slice, not per collection r=sfink
https://hg.mozilla.org/integration/autoland/rev/08cc79bec365
Move nursery-related method definitions to be with other public definitions r=sfink
https://hg.mozilla.org/integration/autoland/rev/12e3bdca260a
Don't attempt to trigger GC when collecting the nursery at the start of a major GC slice r=sfink
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: