See how it actually works.

Run real code. Watch the figure react. Keep one picture per concept, the one you'll redraw in the interview.

Dive in
STACK HEAP x · int5 y · int5 d · Dog 0x1F4A d2 · Dog 0x1F4A Dog @ 0x1F4A name = "Rex"
OPEN Dog
Memory & references
main() a() b() ?
The call stack
.java .class JVM
How Java runs
OPEN s1 s2 "hi" the pool
Strings & the pool
hash
HashMap internals
ArrayList growth
catch
Exceptions & unwinding
root unreachable
Garbage collection
thread Athread B
Threads & the scheduler
Core A Core B main memory
volatile & the memory model
yourBean proxy
Proxies & @Transactional
0123 grp A grp B
Kafka: the log
Plus 33 more figures in the pipeline. Every one built like the first: run it, watch it, keep the picture.