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