Skip to content
Permalink
Browse files
8277503: compiler/onSpinWait/TestOnSpinWaitAArch64DefaultFlags.java f…
…ailed with "OnSpinWaitInst with the expected value 'isb' not found."

Reviewed-by: chagedorn, aph, phh
  • Loading branch information
eastig authored and Paul Hohensee committed Nov 23, 2021
1 parent 7cb56a2 commit 7b2d823e842e6a66dbe46b048da44ca9e5485c75
Showing 2 changed files with 2 additions and 3 deletions.
@@ -74,8 +74,6 @@ compiler/whitebox/MakeMethodNotCompilableTest.java 8265360 macosx-aarch64
compiler/codecache/jmx/PoolsIndependenceTest.java 8264632 macosx-x64
compiler/codecache/TestStressCodeBuffers.java 8272094 generic-aarch64

compiler/onSpinWait/TestOnSpinWaitAArch64DefaultFlags.java 8277503 linux-aarch64


#############################################################################

@@ -87,7 +87,8 @@ public static void main(String[] args) throws Exception {
final String cpuModel = cpuFeatures.get(0);

if (isCPUModelNeoverseN1(cpuModel)) {
checkFinalFlagsEqualTo(ProcessTools.createJavaProcessBuilder("-XX:+PrintFlagsFinal", "-version"), "isb", "1");
checkFinalFlagsEqualTo(ProcessTools.createJavaProcessBuilder("-XX:+UnlockDiagnosticVMOptions", "-XX:+PrintFlagsFinal", "-version"),
"isb", "1");
checkFinalFlagsEqualTo(ProcessTools.createJavaProcessBuilder("-XX:+UnlockDiagnosticVMOptions", "-XX:OnSpinWaitInstCount=2", "-XX:+PrintFlagsFinal", "-version"),
"isb", "2");
} else {

1 comment on commit 7b2d823

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 7b2d823 Nov 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.