内存分区
Java · 3 notes
- JVM Runtime Data Areashistorical
Heap, stacks, method-area metadata, program counters, native stacks, and the difference between JVM specification concepts and HotSpot implementation details.
- JVM Object Allocationhistorical
How HotSpot commonly allocates objects, including TLABs, young-generation allocation, large objects, promotion, and why exact rules depend on the collector.
- Escape Analysishistorical
JIT escape analysis, scalar replacement, lock elimination, and why stack allocation should not be treated as a guaranteed Java object-allocation rule.