Closed Bug 939606 Opened 11 years ago Closed 9 years ago

Run GC and CC more aggressively during mochitests

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 949607

People

(Reporter: mccr8, Unassigned)

References

(Blocks 1 open bug)

Details

billm suggested that we could schedule additional slices of GC during mochitests.  This could be done after every test, or we could reduce the GC/CC timers.  The latter is a little more risky, because we're changing behavior, but maybe it isn't so bad.  The problem with the former is that this could do weird things with CC scheduling: we want the CC to run more, too.
See also bug 938945 :-)
That's a little different.  The code there right now forces full GCs and CCs after each test, but billm pointed out that's bad because we end up not really running ICC.  In that bug, smaug is looking at changing it so we only do forced GCs and CCs after shutdown, which will help with running OOM during shutdown, but it would still be nice to reduce memory usage during a run.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.