Deep Dive into the .class File and Even Deeper
summary
A technical walkthrough of the Java .class file format, starting from the CAFEBABE header through the constant pool and how method references point into it, using javap and OpenJDK artifacts to inspect bytecode and opcodes (about 256 defined, ~200 used). Explains primitive slot sizing in the JVM (int occupies one 4‑byte slot, long two slots) and why that affects bytecode operations; describes classloader phases (loading, linking, initialization), the cost of verification, typical JVM class-loading scale (~10,000 classes) and concrete memory costs (thread stack ~1MB, native metaspace) plus where static and local data are stored.
AI-written summary · about
chapters (6)
- 0:00.class file intro
- 3:51.class file structure
- 14:28Class loading in JVM
- 27:12JVM memory and threads
- 37:01Method stack frames
- 42:40Summary & Q&A
related talks
45mDeep Dive into the .class File and the Class Loader
32mUnveiling the Hidden Layers of Java Class Files Beyond Bytecode
53mWell there's your problem! Your engine's missing! A look under Java's hood
36mFrom Scala to ByteCode...
52mA Classfile API for the JDK
38mWhat Are All These Class Files Even About? And Other Stories
47mWhat Lies Beneath
14mDissecting HelloWorld: Kotlin & Java
