JDK-8307342 : Release Note: Generational Shenandoah (Experimental)
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 24
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2023-05-03
  • Updated: 2025-02-14
  • Resolved: 2024-12-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 24
24Resolved
Description
The experimental generational mode for Shenandoah allows garbage collection to focus on recently allocated memory, reducing the total CPU overhead of GC for many common workloads. In comparison to traditional single-generation Shenandoah, generational mode is often able to achieve higher transaction rates and lower latencies in smaller heap sizes. As experience is gained with more production workloads, the eventual intent is to make this feature non-experimental, and later to make this the default configuration mode for Shenandoah.  Add these options to command line to run Shenandaoh GC with generational mode enabled:
    -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCMode=generational
Comments
Description has been updated with release note
18-12-2024

Transition to open on the way to Delivered.
18-12-2024

Release note has been provided as a comment.
18-12-2024

The experimental generational mode for Shenandoah allows garbage collection to focus on recently allocated memory, reducing the total CPU overhead of GC for many common workloads. In comparison to traditional single-generation Shenandoah, generational mode is often able to achieve higher transaction rates and lower latencies in smaller heap sizes. As experience is gained with more production workloads, the eventual intent is to make this feature non-experimental, and later to make this the default configuration mode for Shenandoah.
18-12-2024