Closed
Bug 1127792
Opened 9 years ago
Closed 9 years ago
Add a pref to globally disable compacting GC
Categories
(Core :: JavaScript: GC, defect)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
mozilla38
Tracking | Status | |
---|---|---|
firefox38 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
10.42 KB,
patch
|
terrence
:
review+
mccr8
:
review+
|
Details | Diff | Splinter Review |
4.69 KB,
patch
|
bent.mozilla
:
review+
|
Details | Diff | Splinter Review |
For testing purposes it would be useful to have a pref to enable/disable compacting GC in the browser. This patch removes the current DisableCompactingGC() and IsCompactingGCEnabled() APIs that are currently unused and replaces them with a new GC parameter JSGC_COMPACTING_ENABLED. This is the way our other preferences work. I hooked up the javascript.options.mem.gc_compacting pref to use this.
Attachment #8557064 -
Flags: review?(terrence)
Assignee | ||
Comment 1•9 years ago
|
||
Also for workers.
Updated•9 years ago
|
Attachment #8557064 -
Flags: review?(terrence) → review+
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8557064 [details] [diff] [review] add-compacting-pref Requesting review for DOM changes.
Attachment #8557064 -
Flags: review?(continuation)
Assignee | ||
Updated•9 years ago
|
Attachment #8557114 -
Flags: review?(bent.mozilla)
Comment 3•9 years ago
|
||
Comment on attachment 8557064 [details] [diff] [review] add-compacting-pref Review of attachment 8557064 [details] [diff] [review]: ----------------------------------------------------------------- r=me for the non-js/ changes
Attachment #8557064 -
Flags: review?(continuation) → review+
Comment on attachment 8557114 [details] [diff] [review] bug1127792-add-compacting-pref-workers Review of attachment 8557114 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/workers/RuntimeService.cpp @@ +404,1 @@ > JSGCParamKey aKey, uint32_t aValue) Eek, embarrassing! Thanks for fixing. Will you fix the indent on the second line too?
Attachment #8557114 -
Flags: review?(bent.mozilla) → review+
Assignee | ||
Comment 5•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/5a4b3f3a0bc3
Comment 6•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5a4b3f3a0bc3
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in
before you can comment on or make changes to this bug.
Description
•