Open Bug 1397237 Opened 3 years ago Updated 2 years ago

Implement a runtime state monitor

Categories

(Core :: JavaScript: GC, enhancement, P5)

enhancement

Tracking

()

Tracking Status
firefox57 --- unaffected

People

(Reporter: f103119, Unassigned)

Details

Due to bug 1376891, we will dispatch an idle runnable to do nursery collection.

I think the ideal way to maximize the usage of idle runnable is, investigate the runtime state then make decisions based on the length of idle time. For example, we can determine what kind of GC we should apply by evaluating how long we can run a collector. We may leverage the information of gcstats::Statistics and some heuristics to do so.
Priority: -- → P5
Blocks: 1376891
No longer blocks: 1376891
You need to log in before you can comment on or make changes to this bug.