Closed
Bug 1669468
Opened 4 years ago
Closed 4 years ago
Refactor heap size triggers a little
Categories
(Core :: JavaScript: GC, task, P3)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
83 Branch
Tracking | Status | |
---|---|---|
firefox83 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
Details
Attachments
(3 files)
While looking into improving behaviour when the GC heap is full I refactored some of the heap size triggers.
Assignee | ||
Comment 1•4 years ago
|
||
This simplifies the threshold checks and the decision to make a collection
non-incremental ultimately happens in GCRuntime::budgetIncrementalGC anyway. We
still have telemetry for incremental/non-incremental collections and
non-incremental reason.
Assignee | ||
Comment 2•4 years ago
|
||
Also removed the call in js::intl::AddICUCellMemory since AddCellMemory calls this already.
Depends on D92592
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D92593
Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/181a90c3250e Remove separate GC reasons incremental/non-incremental trigger kinds and reasons. r=sfink https://hg.mozilla.org/integration/autoland/rev/4610635ff004 Rename methods that check heap sizes to be more readable r=sfink https://hg.mozilla.org/integration/autoland/rev/2c76a244a4d9 Factor out code to update zone heap size thresholds into separate methods r=sfink
Comment 5•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/181a90c3250e
https://hg.mozilla.org/mozilla-central/rev/4610635ff004
https://hg.mozilla.org/mozilla-central/rev/2c76a244a4d9
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox83:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•