2 ms·
If you use a Cheney GC, how much does escape analysis help? Everything that would be stack allocated will die in the first generation, and Cheney's algorithm i
by aidenn0 13y ago
If you use a Cheney GC, how much does escape analysis help?
Everything that would be stack allocated will die in the first generation, and Cheney's algorithm is indifferent to the amount of garbage.
- millstone 13y agoIf nothing else, more heap allocations will cause the collector to run more often.
- aidenn0 13y agoAbsolutely; I was just wondering if anyone knew how big of an impact this would be; all VMs I've used have tiny stacks compared to the size of the heap, so it is academic for many times I would want this.