Closed Bug 933299 Opened 12 years ago Closed 11 years ago

[PJS] Run GC eagerly before entering a parallel section

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: nmatsakis, Unassigned)

References

Details

Currently if we must GC during parallel execution we bail out. We previously attempted to add a stop-the-world GC into the parallel runtime, but it was deemed too complex. A simpler solution is to observe the amount of allocation that has historically been done by parallel sections and try to predict whether a GC will be necessary -- if so we can pre-emptively run the GC before entering the parallel section. This could be done even simpler (but less effectively) by just using a more aggressive GC threshold that is a constant.
Summary: Run GC eagerly before entering a parallel section → [PJS] Run GC eagerly before entering a parallel section
STW GC was bug 862923
Blocks: PJS
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.