A lot has changed with the JVM between JDK 17 and 21. In this episode of #RoadTo21, we will examine the noteworthy changes, where performance has improved, maybe where it has regressed, deprecations you should know about, and a big change to the Z Garbage Collector.
-- Chapters --
0:00 - Intro
0:30 - General Performance Improvements
1:41 - What is Performance
2:50 - Specific Performance Improvements
4:44 - General GC Improvements
5:41 - G1GC Improvements
7:00 - ParallelGC & SerialGC Improvements
7:30 - Generational ZGC
11:39 - Outro
-- Resources --
JDK 20 GC Tuning Guide - https://docs.oracle.com/en/java/javase/20/gctuning/introduction-garbage-collection-tuning.html
Thomas Schatzl's blog - https://openjdk.org/jeps/439
JEP 439 (Generational ZGC) - https://openjdk.org/jeps/439
Upgrading from Java 17 to 21 #RoadTo21 -
https://www.youtube.com/watch?v=5jIkRqBuSBs
Java 21: Performance Improvements Revealed - https://minborgsjavapot.blogspot.com/2023/01/java-21-performance-improvements.html
Java's Startup Booster: CDS -
https://www.youtube.com/watch?v=vvlQv1Dh-HU
Java’s Highly Scalable Low-Latency Garbage Collector : ZGC -
https://www.youtube.com/watch?v=U2Sx5lU0KM8
Tags: #Java #Java21 #Performance #OpenJDK