Closed
Bug 1296639
Opened 9 years ago
Closed 9 years ago
There should be only one periodic full GC
Categories
(Core :: JavaScript: GC, defect)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
mozilla51
People
(Reporter: jonco, Assigned: jonco)
References
Details
Attachments
(2 files)
6.16 KB,
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
8.82 KB,
patch
|
jonco
:
review+
ritu
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
At the moment GCRuntime::maybePeriodicFullGC will trigger a full GC every 20 seconds if MaybeGC is called (which is called after running scripts from the browser). However the browser also triggers its own full GC every 60 seconds.
We should remove one of these.
Comment 1•9 years ago
|
||
The one in DOMGCSliceCallback is triggered when doing a compartmental GC. What does maybePeriodicFullGC do? Or when is it called?
Assignee | ||
Comment 2•9 years ago
|
||
Remove SM's periodic full GC. The embedding can still trigger such GCs if it decides it needs to (and gecko still does of course).
Assignee: nobody → jcoppeard
Attachment #8782969 -
Flags: review?(sphink)
Updated•9 years ago
|
Attachment #8782969 -
Flags: review?(sphink) → review+
Assignee | ||
Comment 3•9 years ago
|
||
(In reply to Olli Pettay [:smaug] from comment #1)
> The one in DOMGCSliceCallback is triggered when doing a compartmental GC.
> What does maybePeriodicFullGC do? Or when is it called?
maybePeriodicFullGC triggers a full (all-zones) GC every 20 seconds if there has been significant GC allocation or there are enough arenas to decommit.
We already have other allocation based triggers though and we now decommit arenas at the end of GC anyway so I don't think this is required any more. Telemetry shows this happens pretty rarely in practice too (0.17%).
Assignee | ||
Updated•9 years ago
|
Keywords: leave-open
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c82bf507f68b
Remove SpiderMonkey's periodic full GC r=sfink
Assignee | ||
Updated•9 years ago
|
Keywords: leave-open
Comment 5•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/32c3c2cb3b92
Remove decommit threshold prefs r=terrence
Comment 7•8 years ago
|
||
bugherder |
Assignee | ||
Comment 8•8 years ago
|
||
Approval Request Comment
[Feature/regressing bug #]: Not a regression, this removes an unnecessary GC trigger.
[User impact if declined]: Requested by RyanVM to reduce intermittent test failures in bug 1293057.
[Describe test coverage new/current, TreeHerder]: On m-c since August 23rd.
[Risks and why]: Low.
[String/UUID change made/needed]: None.
Attachment #8795287 -
Flags: review+
Attachment #8795287 -
Flags: approval-mozilla-beta?
status-firefox50:
--- → affected
Comment on attachment 8795287 [details] [diff] [review]
bug1296639-beta
Fixes an intermittent (verified by RyanVM), Beta50+
Attachment #8795287 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 10•8 years ago
|
||
bugherder uplift |
You need to log in
before you can comment on or make changes to this bug.
Description
•