Topic
JVM memory, garbage collection, the Java Memory Model, synchronization, concurrent execution, virtual threads, and production diagnosis.
Practice items tagged with JVM Memory & Concurrency.
Defines managed memory leaks as unwanted reachability and connects caches, listeners, class loaders, ThreadLocal values, and queues to retaining paths.
Explains optimistic atomic updates, retries, contention, immutable state replacement, and the boundary of single-variable safety.
Explains GC roots, reachability, generational behavior, pauses, and why setting a reference to null is not a general cleanup strategy.
Explains circular lock waits, consistent ordering, reduced lock scope, timed acquisition, and thread-dump confirmation.
Explains cheap JVM-scheduled threads, blocking-I/O throughput, carrier pinning, ThreadLocal cost, and unchanged downstream limits.
Designs executor ownership, pool size, queue capacity, rejection, shutdown, task context, and observability around workload behavior.