JDK 24 ships with 24 JEPs, and this covers the performance improvements and deprecations/removals. Performance highlights include: ahead-of-time class loading and linking (JEP 483, Project Leyden) reducing Spring PetClinic startup by 33-42%; virtual threads no longer pinning on synchronized blocks; Generational Shenandoah added as experimental; Non-Generational ZGC removed; G1 late barrier expansion saving 10-20% of JIT work; and experimental compact object headers reducing heap usage by 10-20%. On the deprecation/removal side: sun.misc.Unsafe memory-access methods now warn by default; the Security Manager is permanently disabled; and 32-bit x86 Windows port is removed while Linux port is deprecated.

13m read timeFrom nipafx.dev
Post cover image
Table of contents
▚ Reduced JDK Size▚ Synchronize Virtual Threads without Pinning▚ Generational Garbage Collection▚ Late Barrier Expansion for G1▚ Experimental Compact Object Headers▚ Ahead-of-Time Class Loading & Linking▚ More Integrity by Default▚ Disabled Security Manager▚ Bye, Bye 32-bit x86

Sort: