Closed
Bug 1881303
Opened 2 years ago
Closed 2 years ago
Expose GC scheduling tunables for eager nursery collection as prefs
Categories
(Core :: JavaScript: GC, task, P3)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
125 Branch
| Tracking | Status | |
|---|---|---|
| firefox125 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
Details
Attachments
(2 external files)
To allow performance experiments aimed at improving our sp3 score, we should expose all relevant GC scheduling tunables.
In particular we should do this for those affecting nursery size and collection scheduling.
| Assignee | ||
Updated•2 years ago
|
Assignee: nobody → jcoppeard
Summary: Expose more GC scheduling tunables as prefs → Expose GC scheduling tunables for eager nursery collection as prefs
| Assignee | ||
Comment 1•2 years ago
|
||
This renames the GC parameters (and some methods) in terms of eager nursery
collection, since the JS engine doesn't have any concept of idle time itself.
The bytes threshold parameter is changed to be specified in KB to make it
easier to deal with.
This also tidies up the implementation and adds comments to hopefully clarify
how this works.
| Assignee | ||
Comment 2•2 years ago
|
||
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/03dd205ae80b
Part 1: Rename nursery eager collection GC parameters r=sfink
https://hg.mozilla.org/integration/autoland/rev/cbfdd18b0c88
Part 2: Expose eager nursery collection tunables as prefs r=sfink
| Assignee | ||
Comment 4•2 years ago
|
||
The new prefs are:
- javascript.options.mem.nursery_eager_collection_threshold_kb
- javascript.options.mem.nursery_eager_collection_threshold_percent
- javascript.options.mem.nursery_eager_collection_timeout_ms
https://hg.mozilla.org/mozilla-central/rev/03dd205ae80b
https://hg.mozilla.org/mozilla-central/rev/cbfdd18b0c88
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox125:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•