JDK-8232828 : AArch64: compiler/c2/aarch64/TestVolatilesG1.java fails with "Missing expected output membar_volatile..."
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 14
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • CPU: aarch64
  • Submitted: 2019-10-22
  • Updated: 2020-06-25
  • Resolved: 2019-11-29
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 14
14 b26Fixed
Related Reports
Relates :  
Description
Reliably reproduces on AArch64 and current jdk/jdk:

$ CONF=linux-aarch64-server-fastdebug make images run-test TEST=compiler/c2/aarch64/TestVolatilesG1.java 
...
TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Missing expected output membar_volatile \(elided\)! 

Bisection shows this is a guilty commit:

changeset:   55898:b5ab9a71aa95
user:        manc
date:        Mon Aug 05 13:18:31 2019 -0700
summary:     8225776: Optimize branch frequency of G1's write post-barrier in C2

Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/851a389fc54d User: adinn Date: 2019-11-29 16:21:56 +0000
29-11-2019

Initially assigning to Andrew Dinn, who made the original test.
22-10-2019