Parallel marking threshold pref not set correctly
Categories
(Core :: JavaScript: GC, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr102 | --- | unaffected |
| firefox-esr115 | --- | unaffected |
| firefox117 | --- | unaffected |
| firefox118 | --- | disabled |
| firefox119 | --- | disabled |
| firefox120 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
The value of the pref javascript.options.mem.gc_parallel_marking_threshold_kb is not respected if it's over 10000 (i.e. ~10MB) because there's a limit in SetMemoryPrefChangedCallbackInt:
https://searchfox.org/mozilla-central/source/dom/base/nsJSEnvironment.cpp#1942
This means that the current prefs for non-macOS platforms are not set and the default of 10MB is used instead.
| Assignee | ||
Updated•3 years ago
|
Comment 1•3 years ago
|
||
Set release status flags based on info from the regressing bug 1847567
| Assignee | ||
Comment 2•3 years ago
|
||
While the limit when setting the pref is surprising, I think it makes more
sense to change this pref to use MB like most of the other GC prefs after which
the problem will not arise.
Comment 4•3 years ago
|
||
| bugherder | ||
Comment 5•3 years ago
|
||
The patch landed in nightly and beta is affected.
:jonco, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox118towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 6•3 years ago
|
||
Parallel marking is disabled by default so this does not need an uplift.
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 7•3 years ago
|
||
This occurrence was missed from the previous patch and so the GC param is named
'KB' even though the value is interpreted as MB.
This affects the shell and testing functions only.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 9•2 years ago
|
||
| bugherder | ||
Comment 10•2 years ago
|
||
Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.
Updated•2 years ago
|
Description
•