Loading...
Loading...
Section 11 · Stage 3: Master Java
How the JVM loads and runs your code, how memory is organised, how garbage collection works and how to find memory problems.
Look inside a class file and see the bytecode javac produces.
How and when the JVM finds, checks and prepares your classes.
How bytecode actually runs and why Java code gets faster after it warms up.
The parts of JVM memory and what lives in each one.
How much space objects really take and what that means for your code.
How the JVM decides an object is garbage and cleans it up.
The main collectors and the few JVM options an entry-level developer should know.
How Java programs leak memory even with a garbage collector, and the reference types that help.
Use the JDK's own tools to see what the JVM is doing and find the cause of a problem.
Work through broken programs and find out what went wrong inside the JVM.
These sections are ready to study now.