Open Bug 1397237 Opened 3 years ago Updated 2 years ago
Implement a runtime state monitor
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.
You need to log in before you can comment on or make changes to this bug.