Chapter 3. Red Hat build of OpenJDK 21.0.7.1 release notes
The Red Hat build of OpenJDK 21.0.7.1 patch release includes the following changes.
Fix for potential failures in region allocation when using the G1 garbage collector with multiple NUMA nodes
On non-uniform memory access (NUMA) systems, the operating system can choose to migrate a task from one NUMA node to another. In the Garbage-First (G1) garbage collector, G1AllocRegion objects are associated with NUMA nodes. The G1Allocator code obtains the G1AllocRegion object for the current thread only, but operating system scheduling can lead to arbitrary changes in the NUMA-to-thread association.
In earlier Red Hat build of OpenJDK releases, when using the G1 garbage collector with multiple NUMA nodes, a failure might have resulted when the G1AllocRegion object being used was changed mid-operation.
Red Hat build of OpenJDK 21.0.7.1 resolves this issue by ensuring that the same NUMA node and associated G1AllocRegion object are used throughout an operation.
This fix will also be included in the upcoming 21.0.8 release scheduled for July 2025. However, this fix is being released early for customers who might be experiencing issues with the G1 garbage collector on NUMA devices.
This fix is available on RHEL 8 only. If you are not experiencing issues with G1 and NUMA on RHEL 8, you do not need to apply this fix.
See JDK-8351500 (JDK Bug System)
Advisories related to Red Hat build of OpenJDK 21.0.7.1
The following advisories have been issued to bug fixes and CVE fixes included in this release: