JDK-8358334 : C2/Shenandoah: incorrect execution with Unsafe
Type:Bug
Component:hotspot
Sub-Component:compiler
Affected Version:17,21,25
Priority:P2
Status:Resolved
Resolution:Fixed
Submitted:2025-06-02
Updated:2025-07-23
Resolved:2025-06-12
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.
Fix Request (17u): bug causes incorrect execution with Shenandoah and was reported by a user. Fix is in c2 code specific to Shenandoah. No risk if not running with Shenandoah. When running with Shenandoah risk is the usual for c2 fixes. Tested with hotspot_gc_shenandoah and tier1 with -XX:+UseShenandoahGC. Patch doesn't apply cleanly and was reviewed: https://github.com/openjdk/jdk17u-dev/pull/3770
21-07-2025
A pull request was submitted for review.
Branch: master
URL: https://git.openjdk.org/jdk17u-dev/pull/3770
Date: 2025-07-18 15:38:51 +0000
18-07-2025
Fix Request (21u): bug causes incorrect execution with Shenandoah and was reported by a user. Fix is in c2 code specific to Shenandoah. No risk if not running with Shenandoah. When running with Shenandoah risk is the usual for c2 fixes. Tested with hotspot_gc_shenandoah and tier1 with -XX:+UseShenandoahGC. Patch doesn't apply cleanly and was reviewed: https://github.com/openjdk/jdk21u-dev/pull/1901
08-07-2025
A pull request was submitted for review.
Branch: master
URL: https://git.openjdk.org/jdk21u-dev/pull/1901
Date: 2025-06-18 13:48:14 +0000
18-06-2025
A pull request was submitted for review.
Branch: jdk25
URL: https://git.openjdk.org/jdk/pull/25845
Date: 2025-06-17 07:46:38 +0000