Closed
Bug 1721168
Opened 3 years ago
Closed 3 years ago
Bring shell's default GC slice budget in line with the browser
Categories
(Core :: JavaScript: GC, task, P1)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
92 Branch
Tracking | Status | |
---|---|---|
firefox92 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
Details
Attachments
(1 file)
The shell's default GC slice budget is currently 10ms whereas the browser's is 5ms. We should bring these into line.
Assignee | ||
Comment 1•3 years ago
|
||
In the browser this is set by the pref javascript.options.mem.gc_incremental_slice_ms:
https://searchfox.org/mozilla-central/source/modules/libpref/init/all.js#1143
In the shell it's set directly:
https://searchfox.org/mozilla-central/source/js/src/shell/js.cpp#12771
Assignee | ||
Comment 2•3 years ago
|
||
This sets the budget to 5ms, as it is for the browser.
Depends on D120321
Updated•3 years ago
|
Severity: -- → N/A
Priority: -- → P1
Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/41b9fb73495f Make the JS shell's default GC slice budget the same as the browser's r=sfink
Comment 4•3 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox92:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•