JVM & Garbage Collection Internals

How a real JVM actually runs your code: a stack-based bytecode interpreter, a copying young-generation garbage collector, concurrent tri-color marking with a write barrier, classfile constant pool resolution, and the JIT's escape analysis for stack allocation -- grounded in HotSpot's real OpenJDK source.

5 exercises

Start with "JVM Bytecode Stack Interpreter"

Tap the menu button in the corner to browse all exercises.