[PJS] Run GC eagerly before entering a parallel section

RESOLVED WONTFIX

Status

()

Core
JavaScript Engine
RESOLVED WONTFIX
5 years ago
4 years ago

People

(Reporter: nmatsakis, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
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.
(Reporter)

Updated

5 years ago
Summary: Run GC eagerly before entering a parallel section → [PJS] Run GC eagerly before entering a parallel section
(Reporter)

Comment 1

5 years ago
STW GC was bug 862923

Updated

4 years ago
Blocks: 801869
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.