📄️ Kiến trúc JVM & Runtime Data Areas
Tổng quan kiến trúc JVM - ClassLoader, Runtime Data Areas, Execution Engine, và quá trình từ .java đến thực thi.
📄️ Stack vs Heap chi tiết
Deep dive vào Stack Frame anatomy, biến lưu trữ trên memory, TLAB, và phân biệt StackOverflowError vs OutOfMemoryError.
📄️ Object Memory & String Pool
Object layout trong memory - Mark Word, Class Pointer, padding. String Pool, String interning, và Compact Strings.
📄️ Garbage Collection Deep Dive
Generational GC, Heap generations, GC algorithms, G1/ZGC collectors, và GC tuning cơ bản.
📄️ Bên trong Collections
ArrayList internals, LinkedList nodes, HashMap bucket/tree, HashSet = HashMap, và tại sao ArrayList thường nhanh hơn LinkedList.
📄️ ClassLoader & JIT Compilation
ClassLoader hierarchy, delegation model, class lifecycle, JIT tiered compilation, method inlining, escape analysis.
📄️ Thread Memory & Virtual Threads Internals
Thread stack memory, Java Memory Model (JMM), happens-before, volatile, và Virtual Threads mount/unmount mechanism.
📄️ Monitoring & Tối ưu Memory
JVM tools (jps, jstat, jmap, jstack), memory issues, memory leak patterns, optimization techniques, và GC tuning cơ bản.