3 ms·
> You only get bump pointer allocation in the nursery, not in the tenured generation (unless you want an inefficient tenured generation). That's not universall
by titzer 11y ago
> You only get bump pointer allocation in the nursery, not in the tenured generation (unless you want an inefficient tenured generation).
That's not universally true; e.g. V8 can and does allocate pretenured objects in the old generation with bump-pointer allocation.
- pcwalton 11y agoSurely that can't be done in all circumstances without severe memory usage issues or fragmentation problems though. You have to fill those holes eventually, if not during allocation than during compaction.
- titzer 11y agoSure, the GC eventually triggers compaction and that by design will produce a lot of contiguous free memory.