Lecture 10 - Java Memory Management
Agenda
- JVM memory
- Reference objects
- Monitoring
- Garbage collectors
- ParallelGC
- G1GC
Slides
jmm-lecture-v3.pdf
Didn't have time to do the G1 walkthrough.
Homework
Write a replacement for Object#finalize using PhantomReferences.
https://github.com/JavaFundamentalsZT/jf-hw-jmm/
Deadline 07 Nov 23:59