Skip to content
InfoQ·

💻Shenandoah GC Defaults to Generational Mode in OpenJDK

Generational Shenandoah GC is now the default, non-gen mode on its way out

TL;DR

OpenJDK JEP 535 proposes making Shenandoah Garbage Collector generational by default. Non-generational mode will be deprecated, with JDK 27 RC scheduled for Aug 20, 2026.

Shenandoah GC is now the default in OpenJDK JEP 535, moving from non-generational to generational mode. This change impacts performance and memory management for Java applications. The deprecation of non-generational Shenandoah means developers must adapt their configurations by August 2026 when JDK 27 RC is released.

Shenandoah GC Defaults to Generational Mode in OpenJDK — InfoQ

Key Points

1

Shenandoah GC defaults to generational mode with non-gen deprecation planned for future JDK releases

2

JDK 27 Build 34 is now available, featuring updates from Build 33 including various fixes

3

Initial RC of JDK 27 scheduled for Aug 20, 2026, due to increased frequency of Critical Patch Updates (CPUs)

4

Feedback window on RC builds reduced by two weeks as a result of the new release schedule

5

GlassFish 8.0.4 delivers bug fixes, documentation improvements, and new features like enhanced diagnostics for JNDI lookups

Why It Matters

Developers using OpenJDK with Shenandoah GC need to update their configurations by August 2026 when JDK 27 RC is released. The switch from non-generational to generational mode impacts performance and memory management, potentially requiring adjustments in application settings.

openjdkshenandoah gcjep 535generational gc

Frequently Asked Questions

Why does this matter?

Developers using OpenJDK with Shenandoah GC need to update their configurations by August 2026 when JDK 27 RC is released. The switch from non-generational to generational mode impacts performance and memory management, potentially requiring adjustments in application settings.

What happened?

OpenJDK JEP 535 proposes making Shenandoah Garbage Collector generational by default. Non-generational mode will be deprecated, with JDK 27 RC scheduled for Aug 20, 2026.

Comments

Subscribe to join the conversation...

Be the first to comment

Enjoyed this article?

Get it daily. 7am. Free. Reads in 5 minutes.

Join 2,765 builders reading daily.

Also get