
In this monologue podcast, Stefan Johansson from Oracle's Java Platform Group discusses garbage collection (GC) in Java, emphasizing the importance of upgrading to recent Java releases and selecting the correct collector for specific use cases. He covers the key aspects of GC, including throughput, latency, and footprint, and explains the trade-offs between different GC algorithms like Serial, Parallel, G1, and CDC. Stefan details the evolution and improvements in G1 and CDC over the years, highlighting performance enhancements, native memory reductions, and the introduction of generational mode in CDC. He also touches on tuning considerations, such as heap sizing, compact object headers, and the use of large pages, and presents case studies using SpecJBB2015 and Cassandra to compare G1 and CDC performance under different workloads, providing insights into latency, CPU usage, and memory consumption.
Sign in to continue reading, translating and more.
Continue