13, 12 chapters
inside the JVM
everything.jvm
inside the JVM
class files, bytecode, class loaders, the interpreter and the JIT. how your code actually runs.
- 13.01JVM architectureclass loaders, runtime data areas, execution engine. the whole map.
- 13.02the class fileCAFEBABE, the constant pool, and every byte of a tiny .class.
- 13.03bytecodea stack machine. watch the operand stack while a method runs.
- 13.04the five invoke instructionsinvokestatic, virtual, interface, special, dynamic. who calls what.
- 13.05class loadingload → link → initialize. and the exact moments a class gets initialized.
- 13.06class loadersbootstrap, platform, app. delegation, and why two loaders = two classes.
- 13.07the interpreter and the JITtiered compilation: how hot code climbs from tier 0 to C2.
- 13.08JIT optimizationsinlining, escape analysis, loop tricks, and deoptimization.
- 13.09object layoutjava 25+mark word, class pointer, fields, padding. and compact headers.
- 13.10how locks work insidelightweight locking, inflation, and what happened to biased locking.
- 13.11safepointshow the JVM stops every thread, and why your latency spiked.
- 13.12AOT, Leyden and native imagesCDS, the AOT cache, and starting fast.