My notes on 'JVM Anatomy 101' talk by Nikita Lipsky

My notes from the insightful talk “JVM Anatomy 101” by Nikita Lipsky. The talk provides a deep dive into the internals of Java Virtual Machine (JVM), covering everything from bytecode and class loading to memory management and garbage collection. You can watch the original talk here. Java class file and bytecode Class file Version Constant Pool Class name, modifiers Superclass, superinterfaces Fields Methods Attributes Fields, methods may have attributes (e.g., values of constant fields) The main attributes of a method is its code: Java bytecode Java bytecode Instruction array Operand stack Local variables array (method arguments, local variables) In the JVM specification each instruction is strictly defined. Two different JVMs that obey JVM specification have no chance to execute the same bytecode differently. ...

September 20, 2025 · 7 min · 1374 words