JavaScript:GenerationalGC: Difference between revisions

no edit summary
(Created page with "= Goals = There seems to be fairly general agreement that we need a generational GC in order for Firefox to compete with Chrome. Benchmarks that create a lot of short-lived obje...")
 
No edit summary
Line 13: Line 13:
Collectors like Sun's G1 use many generations (or zones); the nursery is just the set of zones into which they're currently allocating.
Collectors like Sun's G1 use many generations (or zones); the nursery is just the set of zones into which they're currently allocating.


Note: generational collection will not necessarily make GC pause times any shorter. To fix this, we could make parts of the collector incremental or concurrent. We would also have to look at the cycle collector as well. I don't yet have a good understanding of this code.
Note: generational collection will not necessarily make GC pause times any shorter. To fix this, we could make parts of the collector incremental or parallel. We would also have to look at the cycle collector as well. I don't yet have a good understanding of this code.


= Pinning =
= Pinning =
Confirmed users, Bureaucrats and Sysops emeriti
419

edits