CDS and AppCDS: Class Data Sharing for Faster JVM Startup
A guide to Class Data Sharing in the JVM, covering how CDS and AppCDS work, how to create shared archives, and how they reduce startup time and memory footprint.
A guide to Class Data Sharing in the JVM, covering how CDS and AppCDS work, how to create shared archives, and how they reduce startup time and memory footprint.
A guide to how the JVM detects container memory limits, configures heap accordingly, and avoids pitfalls when running Java in Docker and Kubernetes.
Understand how the JVM allocates memory with TLABs, how to track allocations with low overhead, and how heap walking tools analyze object graphs.
Understanding JVM memory architecture: Heap, JVM Stack, Method Area, PC Registers, and Native Method Stacks - what they store and how they interact.
Master space complexity analysis — learn how to measure, analyze, and optimize the memory footprint of algorithms from O(1) to O(n²) and beyond.