Skip to content

[GR-45919] Add support for Generational ZGC on HotSpot #8117

@fniephaus

Description

@fniephaus

TL;DR

Add support for Generational ZGC (JEP 439) to the Graal compiler.

Goals

JDK 21 added support for Generational ZGC, which

Improve(s) application performance by extending the Z Garbage Collector (ZGC) to maintain separate generations for young and old objects. This will allow ZGC to collect young objects — which tend to die young — more frequently.

We plan to add support for required ZGC barriers along with any relevant performance optimizations to Graal, allowing the use of Generational ZGC when Graal is used as a JIT compiler.

Non-Goals

  • Add support for (Generational) ZGC to GraalVM Native Image
  • Add support for Shenandoah GC and other GCs

Related issues

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Released

Relationships

None yet

Development

No branches or pull requests

Issue actions