Major GC collects the nursery more often than necessary
Categories
(Core :: JavaScript: GC, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox86 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Currently we can't collect the nursery from inside a major GC slice, which means we have to conservatively collect the nursery beforehand if we see that it might be necessary (this depends on the current incremental state and various other factors).
We should figure out a way to only collect the nursery if it's strictly necessary.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
This rearranges a few things so that we can run a minor GC inside a major GC
slice, so we don't have to be conservative about collecting the nursery at the
start of a slice.
Comment 3•4 years ago
|
||
bugherder |
Comment 5•4 years ago
|
||
Backed out at developer's request for causing Bug 1683870
Backout link: https://hg.mozilla.org/mozilla-central/rev/be8b92759b2573517779a240fbc0cfd034ff0d3b
Updated•4 years ago
|
Comment 6•4 years ago
|
||
Hi! Perfherder has detected the improvements below. Do you think these could be a result of the backout?
== Change summary for alert #28321 (as of Mon, 04 Jan 2021 14:51:05 GMT) ==
Improvements:
Ratio | Suite | Test | Platform | Options | Absolute values (old vs new) |
---|---|---|---|---|---|
3% | JS | linux1804-64-shippable-qr | 90,031,999.94 -> 87,172,499.05 | ||
3% | JS | linux1804-64-shippable | 90,183,823.28 -> 87,887,130.22 | ||
2% | JS | windows10-64-shippable | 90,545,819.52 -> 88,487,663.71 | ||
2% | JS | windows10-64-shippable-qr | 90,607,945.36 -> 88,795,525.14 | ||
2% | JS | windows10-64-shippable-qr | 90,341,385.58 -> 88,777,957.62 |
For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=28321
Assignee | ||
Comment 7•4 years ago
|
||
Bug 1685128 should let us land this without causing AWSY regressions.
Comment 9•4 years ago
|
||
bugherder |
Description
•