JDK-8293771 : runtime/handshake/SystemMembarHandshakeTransitionTest.java fails if MEMBARRIER_CMD_QUERY is unsupported
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-09-14
  • Updated: 2022-09-19
  • Resolved: 2022-09-14
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 20
20 b15Fixed
Related Reports
Relates :  
Description
STDERR:
 stdout: [[0.003s][error][os] MEMBARRIER_CMD_QUERY unsupported
Error occurred during initialization of VM
Failed to initialize the requested system memory barrier synchronization.
];
 stderr: [Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
]
 exitValue = 1

 stdout: [[0.003s][error][os] MEMBARRIER_CMD_QUERY unsupported
Error occurred during initialization of VM
Failed to initialize the requested system memory barrier synchronization.
];
 stderr: [Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
]
 exitValue = 1

java.lang.RuntimeException: '(JOINED|Failed to initialize request system memory barrier synchronization.)' missing from stdout/stderr
        at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:340)
        at SystemMembarHandshakeTransitionTest.main(SystemMembarHandshakeTransitionTest.java:61)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:578)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
        at java.base/java.lang.Thread.run(Thread.java:1589)
Comments
Changeset: 8351b30e Author: Jie Fu <jiefu@openjdk.org> Date: 2022-09-14 07:54:32 +0000 URL: https://git.openjdk.org/jdk/commit/8351b30e009d5183e87277aba654cff6a6b7ab0d
14-09-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/10259 Date: 2022-09-14 02:54:45 +0000
14-09-2022