Zum Hauptinhalt springen
Nicht aus der Schweiz? Besuchen Sie lehmanns.de
Für diesen Artikel ist leider kein Bild verfügbar.

The Z Garbage Collector

In JDK 25

(Autor)

Buch | Softcover
384 Seiten
2026
Chapman & Hall/CRC (Verlag)
978-1-032-97692-1 (ISBN)
CHF 87,25 inkl. MwSt
  • Noch nicht erschienen (ca. Mai 2026)
  • Versandkostenfrei
  • Auch auf Rechnung
  • Artikel merken
This book explains how the Z Garbage Collector was designed, why it was designed this way, the common pitfalls to avoid when using ZGC in JDK 25 and how to get useful information from the garbage collector.

With a unique angle right between academia and industry, it is useful for computer science students and Java developers alike.
This book explains how the Z Garbage Collector was designed, why it was designed this way, the common pitfalls to avoid when using ZGC in JDK 25 and how to get useful information from the garbage collector.

Java is one of the most widely used programming languages in the world. It is a memory safe language that completely relies on a good garbage collection (GC) algorithm to work well. The Z Garbage Collector of OpenJDK is arguably the most sophisticated production GC algorithm for any managed language runtime. The book goes into detail and covers core algorithm concepts of ZGC: coloured pointers, GC barriers, concurrent marking, concurrent relocation, concurrent stack scanning, concurrent root scanning, concurrent class unloading, concurrent generational collection, as well as showing how all of this works. It explains how the JVM evolved certain features to be able to accommodate ZGC, and covers the importance of each of the various GC heuristics and how they function.

With a unique angle right between academia and industry, this book is useful for computer science students and Java developers alike.

Erik Österlund is a Consulting Member of Technical Staff, Oracle.

1. Introduction 2. ZGC Design Overview 3. ZGC Memory Layout 4. ZGC Generations 5. ZGC Barriers 6. ZGC Collection Phases 7. ZGC Root Scanning 8. ZGC Class Unloading 9. ZGC Collection Triggers 10. ZGC Thread Sizing Heuristics 11. ZGC Heap Sizing Policies 12. Safepoint Polls 13. Thread-Local Handshakes 14. Compiled Method Entry Barriers 15. Compiled Barriers 16. Virtual Threads 17. Deploying ZGC 18. Measuring Latency 19. Measuring Throughput 20. Measuring Memory Footprint 21. Observability 22. ZGC Heap Sizing

Erscheint lt. Verlag 22.5.2026
Zusatzinfo 2 Tables, black and white; 56 Line drawings, black and white; 56 Illustrations, black and white
Sprache englisch
Maße 178 x 254 mm
Themenwelt Informatik Theorie / Studium Algorithmen
ISBN-10 1-032-97692-6 / 1032976926
ISBN-13 978-1-032-97692-1 / 9781032976921
Zustand Neuware
Informationen gemäß Produktsicherheitsverordnung (GPSR)
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
IT zum Anfassen für alle von 9 bis 99 – vom Navi bis Social Media

von Jens Gallenbacher

Buch | Softcover (2021)
Springer (Verlag)
CHF 46,15