内存分区
Java · 3 notes
- 7.5 Memory Regionshistorical
The JVM uses runtime memory areas for objects and other data. These notes begin with the heap and examine each area's role and creation timing.
- 7.9 Object Allocation Ruleshistorical
Object Allocation Rules: Objects are preferentially allocated in the Eden area. If there is not enough space in Eden, the virtual machine performs a Minor GC.
- Escape Analysishistorical
Escape analysis examines an object's scope and whether code outside a method or thread can access it. These notes organize cases such as method escape.