Understanding JVM Memory Management
A deep dive into Java stack memory, heap memory, metaspace, and how garbage collection actually reclaims objects.
Tag
7 articles
A deep dive into Java stack memory, heap memory, metaspace, and how garbage collection actually reclaims objects.
Strings look like the simplest type in Java, but the string pool, compact string encoding, and concatenation strategy all affect memory and speed directly.
Why the Fail Whale era pushed Twitter off a Ruby on Rails monolith toward JVM services and Finagle, its shared asynchronous RPC framework.
ClassLoaders quietly decide how your code finds classes, why two copies of the same class can coexist, and why app servers leak metaspace.
The JVM doesn't run your bytecode as-is for long. Here's what C1, C2, and tiered compilation actually do, and why your benchmarks lie without warmup.
Most GC tuning advice is cargo culted flags copied from a blog post. Here's how to read the actual signals before you touch anything.
Virtual threads remove the cost of blocking, not the need for careful concurrency design. Here's exactly what improves and what stays your problem.