Serial vs Parallel GC: Throughput-Focused Collectors
A practical guide to Serial and Parallel garbage collectors - how they work, when to use each, throughput trade-offs, and production tuning tips.
A practical guide to Serial and Parallel garbage collectors - how they work, when to use each, throughput trade-offs, and production tuning tips.
A guide to the JVM Stack Walking API showing how to efficiently traverse stack frames, access local variables, and extract security context without the overhead of traditional stack trace capture.
Understanding Java synchronization: synchronized blocks, wait/notify, ReentrantLock, ReadWriteLock, StampedLock, and common concurrency patterns.
Understanding Java thread lifecycle management: thread states, start, yield, sleep, interrupt, join, daemon threads and common pitfalls.
Explore C1 and C2 JIT compilers, on-stack replacement, and deoptimization handling in the JVM's tiered compilation model.
How ZGC and Shenandoah achieve sub-millisecond pause times through concurrent operations and load barriers, without stopping your application.
Learn about partially implemented classes that define contracts for subclasses using abstract methods and concrete implementations.
Master Java arithmetic operators: addition, subtraction, multiplication, division, and modulo with integer division gotchas and operator precedence explained.
Learn Java array fundamentals: declaration, initialization, element access, and the length property explained simply.
Learn ArrayList: dynamic resizing, internal array management, when to choose ArrayList over plain arrays, and performance trade-offs.