JDK-8272772 : Shenandoah: compiler/c2/aarch64/TestVolatilesShenandoah.java fails in 11u
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11.0.9
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2021-08-20
  • Updated: 2021-08-20
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.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
If you run current test on 11u AArch64, then Shenandoah would fail:

$ CONF=linux-aarch64-normal-server-fastdebug make run-test TEST=compiler/c2/aarch64/TestVolatilesShenandoah.java 

TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Missing expected output cmpxchgw?_acq_shenandoah!

This is because the 11.0.9 backport brought the test in broken form.

Compare for example:

master hunk:
  https://github.com/openjdk/jdk/blob/fb1dfc6f49f62990aa9988e9d6f7ffd1adf45d8e/test/hotspot/jtreg/compiler/c2/aarch64/TestVolatiles.java#L360-L371

11u hunk:
  https://github.com/openjdk/jdk11u-dev/blob/90d529355b0fa36ca3378efae8dc6ba4b5203869/test/hotspot/jtreg/compiler/c2/aarch64/TestVolatiles.java#L562-L573


Comments
ILW = 1 test fails (testbug) = MMH = P3
20-08-2021

Fix Request (11u) This fixes the broken Shenandoah test in 11u. This is 11u-specific patch. 11u RFR is acked by rkennke (who is not formally a Reviewer yet, so another ack is needed).
20-08-2021