JVM Specification memory model
- Program Counter (PC) Register
- JVM Stacks
- Native Method Stacks
- Heap
- Method Area
- Run-time Constant Pool
Java 8 HotSpot JVM memory model
- Java Heap
- Young Generation
- Eden
- Survivor
- Virtual
- Old Generation
- Young Generation
- Metaspace
- Compressed Class Space
- CodeCache
- Native Memory