Open
Bug 1145831
Opened 10 years ago
Updated 2 years ago
Find out why treeherder results in long gc pauses, even with a small GC heap
Categories
(Core :: JavaScript: GC, defect)
Core
JavaScript: GC
Tracking
()
NEW
People
(Reporter: terrence, Unassigned)
References
(Blocks 1 open bug)
Details
It's not as bad as tbpl was, but I've still noticed some appreciable lagginess after leaving several tabs open for a day, particularly with the debugger console open.
Comment 1•10 years ago
|
||
I'm really not sure how much this explains, but one thing that came out of the discussion is that currently whenever a new script is created, the devtools onNewScript handler calls findScripts (to avoid traversing just the new scripts with recursive getChildScripts calls, oddly enough.) That triggers a GC flush in order to iterate the heap.
That means that eval("") will do a finishGC whenever the debugger console is open.
See also bug 1145843.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•