diff --git a/src/hotspot/share/compiler/compilerOracle.cpp b/src/hotspot/share/compiler/compilerOracle.cpp index 35fd40fce48..a3d5870f9cc 100644 --- a/src/hotspot/share/compiler/compilerOracle.cpp +++ b/src/hotspot/share/compiler/compilerOracle.cpp @@ -1035,90 +1035,33 @@ bool compilerOracle_init() { } bool CompilerOracle::parse_compile_only(char* line) { - int i; - char name[1024]; - const char* className = nullptr; - const char* methodName = nullptr; - - bool have_colon = (strstr(line, "::") != nullptr); - char method_sep = have_colon ? ':' : '.'; - - if (Verbose) { - tty->print_cr("%s", line); + if (line[0] == '\0') { + return true; } - ResourceMark rm; - while (*line != '\0') { - MethodMatcher::Mode c_match = MethodMatcher::Exact; - MethodMatcher::Mode m_match = MethodMatcher::Exact; - - for (i = 0; - i < 1024 && *line != '\0' && *line != method_sep && *line != ',' && !isspace(*line); - line++, i++) { - name[i] = *line; - if (name[i] == '.') name[i] = '/'; // package prefix uses '/' + char error_buf[1024] = {0}; + LineCopy original(line); + char* method_pattern; + do { + if (line[0] == '\0') { + break; } - - if (i > 0) { - char* newName = NEW_RESOURCE_ARRAY( char, i + 1); - if (newName == nullptr) { - return false; - } - strncpy(newName, name, i); - newName[i] = '\0'; - - if (className == nullptr) { - className = newName; - } else { - methodName = newName; + method_pattern = strtok_r(line, ",", &line); + if (method_pattern != nullptr) { + TypedMethodOptionMatcher* matcher = TypedMethodOptionMatcher::parse_method_pattern(method_pattern, error_buf, sizeof(error_buf)); + if (matcher != nullptr) { + register_command(matcher, CompileCommand::CompileOnly, true); + continue; } } - - if (*line == method_sep) { - if (className == nullptr) { - className = ""; - c_match = MethodMatcher::Any; - } - } else { - // got foo or foo/bar - if (className == nullptr) { - ShouldNotReachHere(); - } else { - // missing class name handled as "Any" class match - if (className[0] == '\0') { - c_match = MethodMatcher::Any; - } - } + ttyLocker ttyl; + tty->print_cr("CompileOnly: An error occurred during parsing"); + if (*error_buf != '\0') { + tty->print_cr("Error: %s", error_buf); } - - // each directive is terminated by , or NUL or . followed by NUL - if (*line == ',' || *line == '\0' || (line[0] == '.' && line[1] == '\0')) { - if (methodName == nullptr) { - methodName = ""; - if (*line != method_sep) { - m_match = MethodMatcher::Any; - } - } - - EXCEPTION_MARK; - Symbol* c_name = SymbolTable::new_symbol(className); - Symbol* m_name = SymbolTable::new_symbol(methodName); - Symbol* signature = nullptr; - - TypedMethodOptionMatcher* tom = new TypedMethodOptionMatcher(); - tom->init_matcher(c_name, c_match, m_name, m_match, signature); - register_command(tom, CompileCommand::CompileOnly, true); - if (PrintVMOptions) { - tty->print("CompileOnly: compileonly "); - tom->print(); - } - - className = nullptr; - methodName = nullptr; - } - - line = *line == '\0' ? line : line + 1; - } + tty->print_cr("Line: '%s'", original.get()); + return false; + } while (method_pattern != nullptr && line != nullptr); return true; } diff --git a/test/hotspot/jtreg/compiler/c1/TestArrayCopyToFromObject.java b/test/hotspot/jtreg/compiler/c1/TestArrayCopyToFromObject.java index e875bd5f7c9..98c8c24dd3a 100644 --- a/test/hotspot/jtreg/compiler/c1/TestArrayCopyToFromObject.java +++ b/test/hotspot/jtreg/compiler/c1/TestArrayCopyToFromObject.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -25,8 +25,8 @@ * @test * @bug 8160591 * @summary C1-generated code for System.arraycopy() does not throw an ArrayStoreException if 'dst' is no a "proper" array (i.e., it is java.lang.Object) - * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xcomp -XX:-UseCompressedClassPointers -XX:CompileOnly=TestArrayCopyToFromObject.test TestArrayCopyToFromObject - * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xcomp -XX:+UseCompressedClassPointers -XX:CompileOnly=TestArrayCopyToFromObject.test TestArrayCopyToFromObject + * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xcomp -XX:-UseCompressedClassPointers -XX:CompileOnly=TestArrayCopyToFromObject::test TestArrayCopyToFromObject + * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xcomp -XX:+UseCompressedClassPointers -XX:CompileOnly=TestArrayCopyToFromObject::test TestArrayCopyToFromObject */ public class TestArrayCopyToFromObject { diff --git a/test/hotspot/jtreg/compiler/c2/TestCMoveHasTopInput.java b/test/hotspot/jtreg/compiler/c2/TestCMoveHasTopInput.java index 6e6c696c946..6b0c2f767f7 100644 --- a/test/hotspot/jtreg/compiler/c2/TestCMoveHasTopInput.java +++ b/test/hotspot/jtreg/compiler/c2/TestCMoveHasTopInput.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, Alibaba Group Holding Limited. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -27,7 +28,7 @@ * @bug 8270307 * @summary C2: assert(false) failed: bad AD file after JDK-8267687 * @library /test/lib - * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestCMoveHasTopInput.vMeth TestCMoveHasTopInput + * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestCMoveHasTopInput::vMeth TestCMoveHasTopInput */ public class TestCMoveHasTopInput { @@ -56,4 +57,4 @@ public class TestCMoveHasTopInput { test.vMeth(i); } } -} \ No newline at end of file +} diff --git a/test/hotspot/jtreg/compiler/c2/TestCondAddDeadBranch.java b/test/hotspot/jtreg/compiler/c2/TestCondAddDeadBranch.java index 545763eb937..de11ac2504c 100644 --- a/test/hotspot/jtreg/compiler/c2/TestCondAddDeadBranch.java +++ b/test/hotspot/jtreg/compiler/c2/TestCondAddDeadBranch.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -27,8 +28,8 @@ * @summary C2: assert(false) failed: unscheduable graph * Error mixing types with -XX:+UseCMoveUnconditionally -XX:+UseVectorCmov * @requires vm.compiler2.enabled - * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestCondAddDeadBranch TestCondAddDeadBranch - * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestCondAddDeadBranch + * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestCondAddDeadBranch::* TestCondAddDeadBranch + * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestCondAddDeadBranch::* * -XX:+UseCMoveUnconditionally -XX:+UseVectorCmov -XX:MaxVectorSize=32 TestCondAddDeadBranch * */ diff --git a/test/hotspot/jtreg/compiler/c2/TestMatcherLargeOffset.java b/test/hotspot/jtreg/compiler/c2/TestMatcherLargeOffset.java index ebfa3ce34b8..9a9e7aceeaa 100644 --- a/test/hotspot/jtreg/compiler/c2/TestMatcherLargeOffset.java +++ b/test/hotspot/jtreg/compiler/c2/TestMatcherLargeOffset.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -26,7 +26,7 @@ * @bug 8202952 * @summary C2: Unexpected dead nodes after matching * - * @run main/othervm -XX:-TieredCompilation -Xcomp -XX:CompileOnly=::test + * @run main/othervm -XX:-TieredCompilation -Xcomp -XX:CompileOnly=*TestMatcherLargeOffset::test * compiler.c2.TestMatcherLargeOffset */ package compiler.c2; diff --git a/test/hotspot/jtreg/compiler/c2/TestModDivTopInput.java b/test/hotspot/jtreg/compiler/c2/TestModDivTopInput.java index 9e4ba1dd6f0..616fb862d75 100644 --- a/test/hotspot/jtreg/compiler/c2/TestModDivTopInput.java +++ b/test/hotspot/jtreg/compiler/c2/TestModDivTopInput.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2022, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -26,9 +27,9 @@ * @bug 8283451 * @summary C2: assert(_base == Long) failed: Not a Long * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+StressLCM -XX:+StressGCM -XX:+StressCCP -XX:+StressIGVN - * -Xcomp -XX:CompileOnly=TestModDivTopInput -XX:-TieredCompilation -XX:StressSeed=87628618 TestModDivTopInput + * -Xcomp -XX:CompileOnly=TestModDivTopInput::* -XX:-TieredCompilation -XX:StressSeed=87628618 TestModDivTopInput * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+StressLCM -XX:+StressGCM -XX:+StressCCP -XX:+StressIGVN - * -Xcomp -XX:CompileOnly=TestModDivTopInput -XX:-TieredCompilation TestModDivTopInput + * -Xcomp -XX:CompileOnly=TestModDivTopInput::* -XX:-TieredCompilation TestModDivTopInput */ public class TestModDivTopInput { diff --git a/test/hotspot/jtreg/compiler/c2/TestSqrt.java b/test/hotspot/jtreg/compiler/c2/TestSqrt.java index 9c4871569d7..78b90901810 100644 --- a/test/hotspot/jtreg/compiler/c2/TestSqrt.java +++ b/test/hotspot/jtreg/compiler/c2/TestSqrt.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -30,8 +31,8 @@ package compiler.c2; * @requires vm.debug * * @run main/othervm -XX:-TieredCompilation -Xcomp - * -XX:CompileOnly=compiler/c2/TestSqrt - * -XX:CompileOnly=java/lang/Math + * -XX:CompileOnly=compiler.c2.TestSqrt::* + * -XX:CompileOnly=java.lang.Math::* * compiler.c2.TestSqrt */ public class TestSqrt { @@ -51,4 +52,3 @@ public class TestSqrt { } } } - diff --git a/test/hotspot/jtreg/compiler/codegen/TestGCMStorePlacement.java b/test/hotspot/jtreg/compiler/codegen/TestGCMStorePlacement.java index 16fbf159925..35a745dea7e 100644 --- a/test/hotspot/jtreg/compiler/codegen/TestGCMStorePlacement.java +++ b/test/hotspot/jtreg/compiler/codegen/TestGCMStorePlacement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -32,11 +32,11 @@ import jdk.test.lib.Asserts; * compilations, reducible and irreducible CFGs). * @library /test/lib / * @run main/othervm -Xbatch compiler.codegen.TestGCMStorePlacement regularReducible1 - * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=compiler.codegen.TestGCMStorePlacement:: compiler.codegen.TestGCMStorePlacement regularReducible2 - * @run main/othervm -Xcomp -XX:CompileOnly=compiler.codegen.TestGCMStorePlacement:: compiler.codegen.TestGCMStorePlacement regularReducible3 - * @run main/othervm -Xcomp -XX:CompileOnly=compiler.codegen.TestGCMStorePlacement:: compiler.codegen.TestGCMStorePlacement regularReducible4 - * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=compiler.codegen.TestGCMStorePlacement:: compiler.codegen.TestGCMStorePlacement osrReducible1 - * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=compiler.codegen.TestGCMStorePlacement:: compiler.codegen.TestGCMStorePlacement osrReducible2 + * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=compiler.codegen.TestGCMStorePlacement::* compiler.codegen.TestGCMStorePlacement regularReducible2 + * @run main/othervm -Xcomp -XX:CompileOnly=compiler.codegen.TestGCMStorePlacement::* compiler.codegen.TestGCMStorePlacement regularReducible3 + * @run main/othervm -Xcomp -XX:CompileOnly=compiler.codegen.TestGCMStorePlacement::* compiler.codegen.TestGCMStorePlacement regularReducible4 + * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=compiler.codegen.TestGCMStorePlacement::* compiler.codegen.TestGCMStorePlacement osrReducible1 + * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=compiler.codegen.TestGCMStorePlacement::* compiler.codegen.TestGCMStorePlacement osrReducible2 * @run main/othervm -Xbatch compiler.codegen.TestGCMStorePlacement osrIrreducible1 */ diff --git a/test/hotspot/jtreg/compiler/eliminateAutobox/UnsignedLoads.java b/test/hotspot/jtreg/compiler/eliminateAutobox/UnsignedLoads.java index 30018dafb87..c17a6d72101 100644 --- a/test/hotspot/jtreg/compiler/eliminateAutobox/UnsignedLoads.java +++ b/test/hotspot/jtreg/compiler/eliminateAutobox/UnsignedLoads.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -27,7 +27,7 @@ * @library /test/lib * * @run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:+EliminateAutoBox - * -XX:CompileOnly=::valueOf,::byteValue,::shortValue,::testUnsignedByte,::testUnsignedShort + * -XX:CompileOnly=*::valueOf,*::byteValue,*::shortValue,*::testUnsignedByte,*::testUnsignedShort * compiler.eliminateAutobox.UnsignedLoads */ diff --git a/test/hotspot/jtreg/compiler/intrinsics/math/TestFpMinMaxIntrinsics.java b/test/hotspot/jtreg/compiler/intrinsics/math/TestFpMinMaxIntrinsics.java index 14f9ec03cfb..205cb892840 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/math/TestFpMinMaxIntrinsics.java +++ b/test/hotspot/jtreg/compiler/intrinsics/math/TestFpMinMaxIntrinsics.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2019, Arm Limited. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -32,11 +32,11 @@ * @run main/othervm -Xint compiler.intrinsics.math.TestFpMinMaxIntrinsics sanityTests 1 * @run main/othervm -XX:+UnlockDiagnosticVMOptions * -Xcomp -XX:TieredStopAtLevel=1 - * -XX:CompileOnly=java/lang/Math + * -XX:CompileOnly=java.lang.Math::* * compiler.intrinsics.math.TestFpMinMaxIntrinsics sanityTests 1 * @run main/othervm -XX:+UnlockDiagnosticVMOptions * -Xcomp -XX:-TieredCompilation - * -XX:CompileOnly=java/lang/Math + * -XX:CompileOnly=java.lang.Math::* * compiler.intrinsics.math.TestFpMinMaxIntrinsics sanityTests 1 * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions * -XX:-TieredCompilation -XX:CompileThresholdScaling=0.1 diff --git a/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestMD5Intrinsics.java b/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestMD5Intrinsics.java index 16f2b6cc510..46a9ae9a27b 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestMD5Intrinsics.java +++ b/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestMD5Intrinsics.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -36,8 +36,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/MD5 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.MD5::* * -XX:+UseMD5Intrinsics * -Dalgorithm=MD5 * compiler.intrinsics.sha.sanity.TestMD5Intrinsics @@ -45,8 +45,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=negative.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/MD5 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.MD5::* * -XX:-UseMD5Intrinsics * -Dalgorithm=MD5 * compiler.intrinsics.sha.sanity.TestMD5Intrinsics diff --git a/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestMD5MultiBlockIntrinsics.java b/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestMD5MultiBlockIntrinsics.java index d6c9006ee57..1b22f135640 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestMD5MultiBlockIntrinsics.java +++ b/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestMD5MultiBlockIntrinsics.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -36,8 +36,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/MD5 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.MD5::* * -XX:+UseMD5Intrinsics -XX:-UseSHA1Intrinsics * -XX:-UseSHA256Intrinsics -XX:-UseSHA512Intrinsics * -Dalgorithm=MD5 @@ -46,16 +46,16 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_def.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/MD5 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.MD5::* * -XX:+UseMD5Intrinsics -Dalgorithm=MD5 * compiler.intrinsics.sha.sanity.TestMD5MultiBlockIntrinsics * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=negative.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/MD5 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.MD5::* * -Dalgorithm=MD5 * compiler.intrinsics.sha.sanity.TestMD5MultiBlockIntrinsics * @run main/othervm -DverificationStrategy=VERIFY_INTRINSIC_USAGE diff --git a/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA1Intrinsics.java b/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA1Intrinsics.java index 5a756a6ec4c..fa18090bcdb 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA1Intrinsics.java +++ b/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA1Intrinsics.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -36,8 +36,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA::* * -XX:+UseSHA1Intrinsics * -Dalgorithm=SHA-1 * compiler.intrinsics.sha.sanity.TestSHA1Intrinsics @@ -45,8 +45,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=negative.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA::* * -XX:-UseSHA1Intrinsics * -Dalgorithm=SHA-1 * compiler.intrinsics.sha.sanity.TestSHA1Intrinsics diff --git a/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA1MultiBlockIntrinsics.java b/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA1MultiBlockIntrinsics.java index 415bbe6ec67..06db8abf74f 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA1MultiBlockIntrinsics.java +++ b/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA1MultiBlockIntrinsics.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -36,8 +36,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA::* * -XX:+UseSHA1Intrinsics -XX:-UseMD5Intrinsics * -XX:-UseSHA256Intrinsics -XX:-UseSHA512Intrinsics * -Dalgorithm=SHA-1 @@ -46,16 +46,16 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_def.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA::* * -XX:+UseSHA1Intrinsics -Dalgorithm=SHA-1 * compiler.intrinsics.sha.sanity.TestSHA1MultiBlockIntrinsics * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=negative.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA -XX:-UseSHA + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA::* -XX:-UseSHA * -Dalgorithm=SHA-1 * compiler.intrinsics.sha.sanity.TestSHA1MultiBlockIntrinsics * @run main/othervm -DverificationStrategy=VERIFY_INTRINSIC_USAGE diff --git a/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA256Intrinsics.java b/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA256Intrinsics.java index 607a48a4506..8bbd90164a8 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA256Intrinsics.java +++ b/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA256Intrinsics.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -36,8 +36,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_224.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA2 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA2::* * -XX:+UseSHA256Intrinsics * -Dalgorithm=SHA-224 * compiler.intrinsics.sha.sanity.TestSHA256Intrinsics @@ -45,8 +45,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=negative_224.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA2 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA2::* * -XX:-UseSHA256Intrinsics * -Dalgorithm=SHA-224 * compiler.intrinsics.sha.sanity.TestSHA256Intrinsics @@ -54,8 +54,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_256.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA2 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA2::* * -XX:+UseSHA256Intrinsics * -Dalgorithm=SHA-256 * compiler.intrinsics.sha.sanity.TestSHA256Intrinsics @@ -63,8 +63,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=negative_256.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA2 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA2::* * -XX:-UseSHA256Intrinsics * -Dalgorithm=SHA-256 * compiler.intrinsics.sha.sanity.TestSHA256Intrinsics diff --git a/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA256MultiBlockIntrinsics.java b/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA256MultiBlockIntrinsics.java index a1200d18305..b09c9cbc729 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA256MultiBlockIntrinsics.java +++ b/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA256MultiBlockIntrinsics.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -36,8 +36,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_224.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA2 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA2::* * -XX:+UseSHA256Intrinsics -XX:-UseMD5Intrinsics * -XX:-UseSHA1Intrinsics -XX:-UseSHA512Intrinsics * -Dalgorithm=SHA-224 @@ -46,24 +46,24 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_224_def.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA2 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA2::* * -XX:+UseSHA256Intrinsics -Dalgorithm=SHA-224 * compiler.intrinsics.sha.sanity.TestSHA256MultiBlockIntrinsics * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=negative_224.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA2 -XX:-UseSHA + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA2::* -XX:-UseSHA * -Dalgorithm=SHA-224 * compiler.intrinsics.sha.sanity.TestSHA256MultiBlockIntrinsics * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_256.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA2 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA2::* * -XX:+UseSHA256Intrinsics -XX:-UseMD5Intrinsics * -XX:-UseSHA1Intrinsics -XX:-UseSHA512Intrinsics * -Dalgorithm=SHA-256 @@ -72,16 +72,16 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_256_def.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA::* * -XX:+UseSHA256Intrinsics -Dalgorithm=SHA-256 * compiler.intrinsics.sha.sanity.TestSHA256MultiBlockIntrinsics * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=negative_256.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA -XX:-UseSHA + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA::* -XX:-UseSHA * -Dalgorithm=SHA-256 * compiler.intrinsics.sha.sanity.TestSHA256MultiBlockIntrinsics * @run main/othervm -DverificationStrategy=VERIFY_INTRINSIC_USAGE diff --git a/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA3Intrinsics.java b/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA3Intrinsics.java index df90a545d79..f4d16af854e 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA3Intrinsics.java +++ b/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA3Intrinsics.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2021, 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2020, Huawei Technologies Co., Ltd. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -37,8 +37,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_224.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA3 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA3::* * -XX:+UseSHA3Intrinsics * -Dalgorithm=SHA3-224 * compiler.intrinsics.sha.sanity.TestSHA3Intrinsics @@ -46,8 +46,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=negative_224.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA3 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA3::* * -XX:-UseSHA3Intrinsics * -Dalgorithm=SHA3-224 * compiler.intrinsics.sha.sanity.TestSHA3Intrinsics @@ -55,8 +55,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_256.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA3 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA3::* * -XX:+UseSHA3Intrinsics * -Dalgorithm=SHA3-256 * compiler.intrinsics.sha.sanity.TestSHA3Intrinsics @@ -64,8 +64,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=negative_256.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA3 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA3::* * -XX:-UseSHA3Intrinsics * -Dalgorithm=SHA3-256 * compiler.intrinsics.sha.sanity.TestSHA3Intrinsics @@ -73,8 +73,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_384.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA3 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA3::* * -XX:+UseSHA3Intrinsics * -Dalgorithm=SHA3-384 * compiler.intrinsics.sha.sanity.TestSHA3Intrinsics @@ -82,8 +82,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=negative_384.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA3 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA3::* * -XX:-UseSHA3Intrinsics * -Dalgorithm=SHA3-384 * compiler.intrinsics.sha.sanity.TestSHA3Intrinsics @@ -91,8 +91,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_512.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA3 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA3::* * -XX:+UseSHA3Intrinsics * -Dalgorithm=SHA3-512 * compiler.intrinsics.sha.sanity.TestSHA3Intrinsics @@ -100,8 +100,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=negative_512.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA3 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA3::* * -XX:-UseSHA3Intrinsics * -Dalgorithm=SHA3-512 * compiler.intrinsics.sha.sanity.TestSHA3Intrinsics diff --git a/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA3MultiBlockIntrinsics.java b/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA3MultiBlockIntrinsics.java index 1e01b543f05..d350a5f0b13 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA3MultiBlockIntrinsics.java +++ b/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA3MultiBlockIntrinsics.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2021, 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2020, Huawei Technologies Co., Ltd. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -37,8 +37,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_224.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA3 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA3::* * -XX:+UseSHA3Intrinsics -XX:-UseMD5Intrinsics * -XX:-UseSHA1Intrinsics -XX:-UseSHA256Intrinsics * -XX:-UseSHA512Intrinsics -Dalgorithm=SHA3-224 @@ -47,16 +47,16 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_224_def.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA3 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA3::* * -XX:+UseSHA3Intrinsics -Dalgorithm=SHA3-224 * compiler.intrinsics.sha.sanity.TestSHA3MultiBlockIntrinsics * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=negative_224.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA3 -XX:-UseSHA + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA3::* -XX:-UseSHA * -Dalgorithm=SHA3-224 * compiler.intrinsics.sha.sanity.TestSHA3MultiBlockIntrinsics * @@ -64,8 +64,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_256.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA3 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA3::* * -XX:+UseSHA3Intrinsics -XX:-UseMD5Intrinsics * -XX:-UseSHA1Intrinsics -XX:-UseSHA256Intrinsics * -XX:-UseSHA512Intrinsics -Dalgorithm=SHA3-256 @@ -74,16 +74,16 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_256_def.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA3 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA3::* * -XX:+UseSHA3Intrinsics -Dalgorithm=SHA3-256 * compiler.intrinsics.sha.sanity.TestSHA3MultiBlockIntrinsics * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=negative_256.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA3 -XX:-UseSHA + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA3::* -XX:-UseSHA * -Dalgorithm=SHA3-256 * compiler.intrinsics.sha.sanity.TestSHA3MultiBlockIntrinsics * @@ -91,8 +91,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_384.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA3 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA3::* * -XX:+UseSHA3Intrinsics -XX:-UseMD5Intrinsics * -XX:-UseSHA1Intrinsics -XX:-UseSHA256Intrinsics * -XX:-UseSHA512Intrinsics -Dalgorithm=SHA3-384 @@ -101,16 +101,16 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_384_def.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA3 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA3::* * -XX:+UseSHA3Intrinsics -Dalgorithm=SHA3-384 * compiler.intrinsics.sha.sanity.TestSHA3MultiBlockIntrinsics * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=negative_384.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA3 -XX:-UseSHA + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA3::* -XX:-UseSHA * -Dalgorithm=SHA3-384 * compiler.intrinsics.sha.sanity.TestSHA3MultiBlockIntrinsics * @@ -118,8 +118,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_512.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA3 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA3::* * -XX:+UseSHA3Intrinsics -XX:-UseMD5Intrinsics * -XX:-UseSHA1Intrinsics -XX:-UseSHA256Intrinsics * -XX:-UseSHA512Intrinsics -Dalgorithm=SHA3-512 @@ -128,16 +128,16 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_512_def.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA3 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA3::* * -XX:+UseSHA3Intrinsics -Dalgorithm=SHA3-512 * compiler.intrinsics.sha.sanity.TestSHA3MultiBlockIntrinsics * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=negative_512.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA3 -XX:-UseSHA + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA3::* -XX:-UseSHA * -Dalgorithm=SHA3-512 * compiler.intrinsics.sha.sanity.TestSHA3MultiBlockIntrinsics * @run main/othervm -DverificationStrategy=VERIFY_INTRINSIC_USAGE diff --git a/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA512Intrinsics.java b/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA512Intrinsics.java index 2a5f9bf097f..7059ba54569 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA512Intrinsics.java +++ b/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA512Intrinsics.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -36,8 +36,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_384.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA5 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA5::* * -XX:+UseSHA512Intrinsics * -Dalgorithm=SHA-384 * compiler.intrinsics.sha.sanity.TestSHA512Intrinsics @@ -45,8 +45,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=negative_384.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA5 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA5::* * -XX:-UseSHA512Intrinsics * -Dalgorithm=SHA-384 * compiler.intrinsics.sha.sanity.TestSHA512Intrinsics @@ -54,8 +54,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_512.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA5 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA5::* * -XX:+UseSHA512Intrinsics * -Dalgorithm=SHA-512 * compiler.intrinsics.sha.sanity.TestSHA512Intrinsics @@ -63,8 +63,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=negative_512.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA5 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA5::* * -XX:-UseSHA512Intrinsics * -Dalgorithm=SHA-512 * compiler.intrinsics.sha.sanity.TestSHA512Intrinsics diff --git a/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA512MultiBlockIntrinsics.java b/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA512MultiBlockIntrinsics.java index 5caf35f2390..52a46510425 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA512MultiBlockIntrinsics.java +++ b/test/hotspot/jtreg/compiler/intrinsics/sha/sanity/TestSHA512MultiBlockIntrinsics.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -36,8 +36,8 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_384.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA5 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA5::* * -XX:+UseSHA512Intrinsics -XX:-UseMD5Intrinsics * -XX:-UseSHA1Intrinsics -XX:-UseSHA256Intrinsics * -Dalgorithm=SHA-384 @@ -46,24 +46,24 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_384_def.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA5 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA5::* * -XX:+UseSHA512Intrinsics -Dalgorithm=SHA-384 * compiler.intrinsics.sha.sanity.TestSHA512MultiBlockIntrinsics * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=negative_384.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA5 -XX:-UseSHA + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA5::* -XX:-UseSHA * -Dalgorithm=SHA-384 * compiler.intrinsics.sha.sanity.TestSHA1Intrinsics * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_512.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA5 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA5::* * -XX:+UseSHA512Intrinsics -XX:-UseMD5Intrinsics * -XX:-UseSHA1Intrinsics -XX:-UseSHA256Intrinsics * -Dalgorithm=SHA-512 @@ -72,16 +72,16 @@ * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=positive_512_def.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA5 + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA5::* * -XX:+UseSHA512Intrinsics -Dalgorithm=SHA-512 * compiler.intrinsics.sha.sanity.TestSHA512MultiBlockIntrinsics * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions * -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500 * -XX:Tier4InvocationThreshold=500 * -XX:+LogCompilation -XX:LogFile=negative_512.log - * -XX:CompileOnly=sun/security/provider/DigestBase - * -XX:CompileOnly=sun/security/provider/SHA5 -XX:-UseSHA + * -XX:CompileOnly=sun.security.provider.DigestBase::* + * -XX:CompileOnly=sun.security.provider.SHA5::* -XX:-UseSHA * -Dalgorithm=SHA-512 * compiler.intrinsics.sha.sanity.TestSHA512MultiBlockIntrinsics * @run main/othervm -DverificationStrategy=VERIFY_INTRINSIC_USAGE diff --git a/test/hotspot/jtreg/compiler/longcountedloops/TestDeadLongPhi.java b/test/hotspot/jtreg/compiler/longcountedloops/TestDeadLongPhi.java index ee4eed89319..24d028f16b0 100644 --- a/test/hotspot/jtreg/compiler/longcountedloops/TestDeadLongPhi.java +++ b/test/hotspot/jtreg/compiler/longcountedloops/TestDeadLongPhi.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -26,7 +27,7 @@ * @bug 8263189 * @summary C2: assert(!had_error) failed: bad dominance * - * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestDeadLongPhi TestDeadLongPhi + * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestDeadLongPhi::* TestDeadLongPhi * */ @@ -72,4 +73,3 @@ public class TestDeadLongPhi { } } - diff --git a/test/hotspot/jtreg/compiler/loopopts/PeelingZeroTripCount.java b/test/hotspot/jtreg/compiler/loopopts/PeelingZeroTripCount.java index c6350c06751..5ac13896d4b 100644 --- a/test/hotspot/jtreg/compiler/loopopts/PeelingZeroTripCount.java +++ b/test/hotspot/jtreg/compiler/loopopts/PeelingZeroTripCount.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -26,7 +27,7 @@ * @bug 8215044 * @summary C2 crash in loopTransform.cpp with assert(cl->trip_count() > 0) failed: peeling a fully unrolled loop * - * @run main/othervm -XX:CompileOnly=PeelingZeroTripCount.test PeelingZeroTripCount + * @run main/othervm -XX:CompileOnly=PeelingZeroTripCount::test PeelingZeroTripCount * */ diff --git a/test/hotspot/jtreg/compiler/loopopts/Test8211698.java b/test/hotspot/jtreg/compiler/loopopts/Test8211698.java index 37cf52e4648..248e97ec197 100644 --- a/test/hotspot/jtreg/compiler/loopopts/Test8211698.java +++ b/test/hotspot/jtreg/compiler/loopopts/Test8211698.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -26,7 +26,7 @@ * @bug 8211698 * @summary Crash in C2 compiled code during execution of double array heavy processing code * - * @run main/othervm -XX:CompileOnly=Test8211698.test Test8211698 + * @run main/othervm -XX:CompileOnly=Test8211698::test Test8211698 * */ diff --git a/test/hotspot/jtreg/compiler/loopopts/TestAddPChainWithDifferentBase.java b/test/hotspot/jtreg/compiler/loopopts/TestAddPChainWithDifferentBase.java index 66328aa8fbb..e348a779b3c 100644 --- a/test/hotspot/jtreg/compiler/loopopts/TestAddPChainWithDifferentBase.java +++ b/test/hotspot/jtreg/compiler/loopopts/TestAddPChainWithDifferentBase.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -26,7 +27,7 @@ * @bug 8267988 * @summary C2: assert(!addp->is_AddP() || addp->in(AddPNode::Base)->is_top() || addp->in(AddPNode::Base) == n->in(AddPNode::Base)) failed: Base pointers must match (addp 1301) * - * @run main/othervm -Xcomp -XX:CompileOnly=TestAddPChainWithDifferentBase TestAddPChainWithDifferentBase + * @run main/othervm -Xcomp -XX:CompileOnly=TestAddPChainWithDifferentBase::* TestAddPChainWithDifferentBase * */ diff --git a/test/hotspot/jtreg/compiler/loopopts/TestBadlyFormedCountedLoop.java b/test/hotspot/jtreg/compiler/loopopts/TestBadlyFormedCountedLoop.java index 873863dc471..d8b6fc3fdfb 100644 --- a/test/hotspot/jtreg/compiler/loopopts/TestBadlyFormedCountedLoop.java +++ b/test/hotspot/jtreg/compiler/loopopts/TestBadlyFormedCountedLoop.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2022, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -26,7 +27,7 @@ * @bug 8273115 * @summary CountedLoopEndNode::stride_con crash in debug build with -XX:+TraceLoopOpts * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+TraceLoopOpts -Xcomp -XX:-TieredCompilation - * -XX:CompileOnly=TestBadlyFormedCountedLoop.main TestBadlyFormedCountedLoop + * -XX:CompileOnly=TestBadlyFormedCountedLoop::main TestBadlyFormedCountedLoop */ public class TestBadlyFormedCountedLoop { diff --git a/test/hotspot/jtreg/compiler/loopopts/TestBrokenAntiDependenceWithPhi.java b/test/hotspot/jtreg/compiler/loopopts/TestBrokenAntiDependenceWithPhi.java index 6c967165640..91e63e70962 100644 --- a/test/hotspot/jtreg/compiler/loopopts/TestBrokenAntiDependenceWithPhi.java +++ b/test/hotspot/jtreg/compiler/loopopts/TestBrokenAntiDependenceWithPhi.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -26,7 +27,7 @@ * @bug 8259641 * @summary C2: assert(early->dominates(LCA)) failed: early is high enough * - * @run main/othervm -Xcomp -XX:CompileOnly=TestBrokenAntiDependenceWithPhi TestBrokenAntiDependenceWithPhi + * @run main/othervm -Xcomp -XX:CompileOnly=TestBrokenAntiDependenceWithPhi::* TestBrokenAntiDependenceWithPhi * */ diff --git a/test/hotspot/jtreg/compiler/loopopts/TestCastFFAtPhi.java b/test/hotspot/jtreg/compiler/loopopts/TestCastFFAtPhi.java index ec9ac9a72e8..34d1ad4e228 100644 --- a/test/hotspot/jtreg/compiler/loopopts/TestCastFFAtPhi.java +++ b/test/hotspot/jtreg/compiler/loopopts/TestCastFFAtPhi.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -27,8 +28,8 @@ * @summary C2: assert(phi_type->isa_int() || phi_type->isa_ptr() || phi_type->isa_long()) failed: bad phi type * Error mixing types with -XX:+UseCMoveUnconditionally -XX:+UseVectorCmov * @requires vm.compiler2.enabled - * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestCastFFAtPhi TestCastFFAtPhi - * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestCastFFAtPhi -XX:+UseCMoveUnconditionally + * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestCastFFAtPhi::* TestCastFFAtPhi + * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestCastFFAtPhi::* -XX:+UseCMoveUnconditionally * -XX:+UseVectorCmov -XX:MaxVectorSize=32 TestCastFFAtPhi * */ diff --git a/test/hotspot/jtreg/compiler/loopopts/TestCastIIMakesMainLoopPhiDead.java b/test/hotspot/jtreg/compiler/loopopts/TestCastIIMakesMainLoopPhiDead.java index 3c40761a77d..ddd34571539 100644 --- a/test/hotspot/jtreg/compiler/loopopts/TestCastIIMakesMainLoopPhiDead.java +++ b/test/hotspot/jtreg/compiler/loopopts/TestCastIIMakesMainLoopPhiDead.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2022, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -25,7 +26,7 @@ * @test * bug 8280600 * @summary C2: assert(!had_error) failed: bad dominance - * @run main/othervm -Xcomp -XX:CompileOnly=TestCastIIMakesMainLoopPhiDead TestCastIIMakesMainLoopPhiDead + * @run main/othervm -Xcomp -XX:CompileOnly=TestCastIIMakesMainLoopPhiDead::* TestCastIIMakesMainLoopPhiDead */ public class TestCastIIMakesMainLoopPhiDead { diff --git a/test/hotspot/jtreg/compiler/loopopts/TestCastIIMakesMainLoopPhiDead2.java b/test/hotspot/jtreg/compiler/loopopts/TestCastIIMakesMainLoopPhiDead2.java index 1aa233abe5f..187dda89bd7 100644 --- a/test/hotspot/jtreg/compiler/loopopts/TestCastIIMakesMainLoopPhiDead2.java +++ b/test/hotspot/jtreg/compiler/loopopts/TestCastIIMakesMainLoopPhiDead2.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -25,7 +25,7 @@ * @test * bug 8280600 * @summary C2: assert(!had_error) failed: bad dominance - * @run main/othervm -Xcomp -XX:CompileOnly=TestCastIIMakesMainLoopPhiDead2 TestCastIIMakesMainLoopPhiDead2 + * @run main/othervm -Xcomp -XX:CompileOnly=TestCastIIMakesMainLoopPhiDead2::* TestCastIIMakesMainLoopPhiDead2 */ public class TestCastIIMakesMainLoopPhiDead2 { @@ -50,5 +50,3 @@ public class TestCastIIMakesMainLoopPhiDead2 { } } } - - diff --git a/test/hotspot/jtreg/compiler/loopopts/TestCountedLoopZeroIter.java b/test/hotspot/jtreg/compiler/loopopts/TestCountedLoopZeroIter.java index 86b46a3d098..b7c7e37cc31 100644 --- a/test/hotspot/jtreg/compiler/loopopts/TestCountedLoopZeroIter.java +++ b/test/hotspot/jtreg/compiler/loopopts/TestCountedLoopZeroIter.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -26,7 +27,7 @@ * @bug 8261308 * @summary C2: assert(inner->is_valid_counted_loop(T_INT) && inner->is_strip_mined()) failed: OuterStripMinedLoop should have been removed * - * @run main/othervm -Xcomp -XX:CompileOnly=TestCountedLoopZeroIter TestCountedLoopZeroIter + * @run main/othervm -Xcomp -XX:CompileOnly=TestCountedLoopZeroIter::* TestCountedLoopZeroIter * */ diff --git a/test/hotspot/jtreg/compiler/loopopts/TestDeadPostLoopBecausePredicate.java b/test/hotspot/jtreg/compiler/loopopts/TestDeadPostLoopBecausePredicate.java index 719de54204f..2f1c22bb746 100644 --- a/test/hotspot/jtreg/compiler/loopopts/TestDeadPostLoopBecausePredicate.java +++ b/test/hotspot/jtreg/compiler/loopopts/TestDeadPostLoopBecausePredicate.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -26,7 +27,7 @@ * @bug 8275330 * @summary C2: assert(n->is_Root() || n->is_Region() || n->is_Phi() || n->is_MachMerge() || def_block->dominates(block)) failed: uses must be dominated by definitions * - * @run main/othervm -Xmx512m -XX:+UnlockDiagnosticVMOptions -Xcomp -XX:CompileOnly=TestDeadPostLoopBecausePredicate TestDeadPostLoopBecausePredicate + * @run main/othervm -Xmx512m -XX:+UnlockDiagnosticVMOptions -Xcomp -XX:CompileOnly=TestDeadPostLoopBecausePredicate::* TestDeadPostLoopBecausePredicate * */ diff --git a/test/hotspot/jtreg/compiler/loopopts/TestDivWithTopDivisor.java b/test/hotspot/jtreg/compiler/loopopts/TestDivWithTopDivisor.java index 19e8915badb..8eab57d961a 100644 --- a/test/hotspot/jtreg/compiler/loopopts/TestDivWithTopDivisor.java +++ b/test/hotspot/jtreg/compiler/loopopts/TestDivWithTopDivisor.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2021, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -27,7 +27,7 @@ * @bug 8260284 * @summary Fix "assert(_base == Int) failed: Not an Int" due to a top divisor not handled correctly in no_dependent_zero_check(). * @requires vm.compiler2.enabled - * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=compiler/loopopts/TestDivWithTopDivisor compiler.loopopts.TestDivWithTopDivisor + * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=compiler.loopopts.TestDivWithTopDivisor::* compiler.loopopts.TestDivWithTopDivisor */ package compiler.loopopts; @@ -83,4 +83,3 @@ public class TestDivWithTopDivisor { } } } - diff --git a/test/hotspot/jtreg/compiler/loopopts/TestDivZeroDominatedBy.java b/test/hotspot/jtreg/compiler/loopopts/TestDivZeroDominatedBy.java index 80b5b552eef..1ec727fd6b0 100644 --- a/test/hotspot/jtreg/compiler/loopopts/TestDivZeroDominatedBy.java +++ b/test/hotspot/jtreg/compiler/loopopts/TestDivZeroDominatedBy.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2021, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -28,9 +28,9 @@ * @bug 8259227 * @summary Verify that zero check is executed before division/modulo operation. * @requires vm.compiler2.enabled - * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=compiler/loopopts/TestDivZeroDominatedBy::test + * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=compiler.loopopts.TestDivZeroDominatedBy::test * -XX:+UnlockDiagnosticVMOptions -XX:+StressGCM -XX:StressSeed=917280111 compiler.loopopts.TestDivZeroDominatedBy - * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=compiler/loopopts/TestDivZeroDominatedBy::test + * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=compiler.loopopts.TestDivZeroDominatedBy::test * -XX:+UnlockDiagnosticVMOptions -XX:+StressGCM compiler.loopopts.TestDivZeroDominatedBy */ @@ -75,4 +75,3 @@ public class TestDivZeroDominatedBy { test(); } } - diff --git a/test/hotspot/jtreg/compiler/loopopts/TestDivZeroWithSplitIf.java b/test/hotspot/jtreg/compiler/loopopts/TestDivZeroWithSplitIf.java index c842152684d..2567a75187c 100644 --- a/test/hotspot/jtreg/compiler/loopopts/TestDivZeroWithSplitIf.java +++ b/test/hotspot/jtreg/compiler/loopopts/TestDivZeroWithSplitIf.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2021, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -28,9 +28,9 @@ * @bug 8257822 * @summary Verify that zero check is executed before division/modulo operation. * @requires vm.compiler2.enabled - * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=compiler/loopopts/TestDivZeroWithSplitIf::test + * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=compiler.loopopts.TestDivZeroWithSplitIf::test * -XX:+UnlockDiagnosticVMOptions -XX:+StressGCM -XX:StressSeed=873732072 compiler.loopopts.TestDivZeroWithSplitIf - * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=compiler/loopopts/TestDivZeroWithSplitIf::test + * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=compiler.loopopts.TestDivZeroWithSplitIf::test * -XX:+UnlockDiagnosticVMOptions -XX:+StressGCM compiler.loopopts.TestDivZeroWithSplitIf */ @@ -66,4 +66,3 @@ public class TestDivZeroWithSplitIf { } } } - diff --git a/test/hotspot/jtreg/compiler/loopopts/TestLoopLimitNodeElimination.java b/test/hotspot/jtreg/compiler/loopopts/TestLoopLimitNodeElimination.java index 930d38a4e19..50bdb7da29f 100644 --- a/test/hotspot/jtreg/compiler/loopopts/TestLoopLimitNodeElimination.java +++ b/test/hotspot/jtreg/compiler/loopopts/TestLoopLimitNodeElimination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2021, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -28,7 +28,7 @@ * * @run main/othervm * -Xcomp - * -XX:CompileOnly=compiler/loopopts/TestLoopLimitNodeElimination + * -XX:CompileOnly=compiler.loopopts.TestLoopLimitNodeElimination::* * compiler.loopopts.TestLoopLimitNodeElimination */ @@ -72,4 +72,3 @@ public class TestLoopLimitNodeElimination { } } } - diff --git a/test/hotspot/jtreg/compiler/loopopts/TestLostDependencyOnZeroTripGuard.java b/test/hotspot/jtreg/compiler/loopopts/TestLostDependencyOnZeroTripGuard.java index 9429f41a933..fdfde582e63 100644 --- a/test/hotspot/jtreg/compiler/loopopts/TestLostDependencyOnZeroTripGuard.java +++ b/test/hotspot/jtreg/compiler/loopopts/TestLostDependencyOnZeroTripGuard.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -27,9 +28,9 @@ * @bug 8263971 * @summary C2 crashes with SIGFPE with -XX:+StressGCM and -XX:+StressIGVN * - * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestLostDependencyOnZeroTripGuard -XX:+UnlockDiagnosticVMOptions + * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestLostDependencyOnZeroTripGuard::* -XX:+UnlockDiagnosticVMOptions * -XX:+IgnoreUnrecognizedVMOptions -XX:+StressGCM -XX:StressSeed=886771365 TestLostDependencyOnZeroTripGuard - * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestLostDependencyOnZeroTripGuard -XX:+UnlockDiagnosticVMOptions + * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestLostDependencyOnZeroTripGuard::* -XX:+UnlockDiagnosticVMOptions * -XX:+IgnoreUnrecognizedVMOptions -XX:+StressGCM TestLostDependencyOnZeroTripGuard * */ diff --git a/test/hotspot/jtreg/compiler/loopopts/TestMainBodyExecutedOnce.java b/test/hotspot/jtreg/compiler/loopopts/TestMainBodyExecutedOnce.java index 07813cb66a3..07cdd434677 100644 --- a/test/hotspot/jtreg/compiler/loopopts/TestMainBodyExecutedOnce.java +++ b/test/hotspot/jtreg/compiler/loopopts/TestMainBodyExecutedOnce.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -26,7 +27,7 @@ * @bug 8269752 * @summary C2: assert(false) failed: Bad graph detected in build_loop_late * - * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestMainBodyExecutedOnce TestMainBodyExecutedOnce + * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestMainBodyExecutedOnce::* TestMainBodyExecutedOnce * */ diff --git a/test/hotspot/jtreg/compiler/loopopts/TestMainNeverExecuted.java b/test/hotspot/jtreg/compiler/loopopts/TestMainNeverExecuted.java index fb8dee44333..a7d13df5b90 100644 --- a/test/hotspot/jtreg/compiler/loopopts/TestMainNeverExecuted.java +++ b/test/hotspot/jtreg/compiler/loopopts/TestMainNeverExecuted.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -26,7 +27,7 @@ * @bug 8271272 * @summary C2: assert(!had_error) failed: bad dominance * - * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestMainNeverExecuted TestMainNeverExecuted + * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestMainNeverExecuted::* TestMainNeverExecuted * */ diff --git a/test/hotspot/jtreg/compiler/loopopts/TestStoreSunkInInnerLoop.java b/test/hotspot/jtreg/compiler/loopopts/TestStoreSunkInInnerLoop.java index ec92e6d3c1f..60146a05c1c 100644 --- a/test/hotspot/jtreg/compiler/loopopts/TestStoreSunkInInnerLoop.java +++ b/test/hotspot/jtreg/compiler/loopopts/TestStoreSunkInInnerLoop.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -27,7 +28,7 @@ * @summary C2 fails with assert(!n->is_Store() && !n->is_LoadStore()) failed: no node with a side effect * * @requires vm.gc.Serial - * @run main/othervm -Xcomp -XX:CompileOnly=TestStoreSunkInInnerLoop -XX:CompileCommand=quiet -XX:+UseSerialGC -Xmx256m TestStoreSunkInInnerLoop + * @run main/othervm -Xcomp -XX:CompileOnly=TestStoreSunkInInnerLoop::* -XX:CompileCommand=quiet -XX:+UseSerialGC -Xmx256m TestStoreSunkInInnerLoop * */ diff --git a/test/hotspot/jtreg/compiler/loopopts/TestSunkCastOnUnreachablePath.java b/test/hotspot/jtreg/compiler/loopopts/TestSunkCastOnUnreachablePath.java index def5182f7fb..120edfce798 100644 --- a/test/hotspot/jtreg/compiler/loopopts/TestSunkCastOnUnreachablePath.java +++ b/test/hotspot/jtreg/compiler/loopopts/TestSunkCastOnUnreachablePath.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -26,7 +27,7 @@ * @bug 8272562 * @summary C2: assert(false) failed: Bad graph detected in build_loop_late * - * @run main/othervm -XX:CompileOnly=TestSunkCastOnUnreachablePath -XX:-TieredCompilation -Xbatch TestSunkCastOnUnreachablePath + * @run main/othervm -XX:CompileOnly=TestSunkCastOnUnreachablePath::* -XX:-TieredCompilation -Xbatch TestSunkCastOnUnreachablePath * */ diff --git a/test/hotspot/jtreg/compiler/loopopts/TestSunkNodeDueToBrokenAntiDependency.java b/test/hotspot/jtreg/compiler/loopopts/TestSunkNodeDueToBrokenAntiDependency.java index c02fceb12af..37c1a134b50 100644 --- a/test/hotspot/jtreg/compiler/loopopts/TestSunkNodeDueToBrokenAntiDependency.java +++ b/test/hotspot/jtreg/compiler/loopopts/TestSunkNodeDueToBrokenAntiDependency.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -26,7 +27,7 @@ * @bug 8269575 * @summary C2: assert(false) failed: graph should be schedulable after JDK-8252372 * - * @run main/othervm -Xcomp -XX:CompileOnly=TestSunkNodeDueToBrokenAntiDependency TestSunkNodeDueToBrokenAntiDependency + * @run main/othervm -Xcomp -XX:CompileOnly=TestSunkNodeDueToBrokenAntiDependency::* TestSunkNodeDueToBrokenAntiDependency * */ diff --git a/test/hotspot/jtreg/compiler/loopopts/TestUnreachableInnerLoop.java b/test/hotspot/jtreg/compiler/loopopts/TestUnreachableInnerLoop.java index 662448b4eb8..7fb2b313261 100644 --- a/test/hotspot/jtreg/compiler/loopopts/TestUnreachableInnerLoop.java +++ b/test/hotspot/jtreg/compiler/loopopts/TestUnreachableInnerLoop.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2022, Arm Limited. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -27,7 +28,7 @@ * @summary C2: Assert failed in PhaseCFG::verify() after JDK-8183390 * * @run main/othervm -Xcomp -Xbatch - * -XX:CompileOnly=compiler/loopopts/TestUnreachableInnerLoop + * -XX:CompileOnly=compiler.loopopts.TestUnreachableInnerLoop::* * compiler.loopopts.TestUnreachableInnerLoop */ diff --git a/test/hotspot/jtreg/compiler/loopopts/TestZeroTripGuardShared.java b/test/hotspot/jtreg/compiler/loopopts/TestZeroTripGuardShared.java index 1b0829f6a5c..1aaf5112901 100644 --- a/test/hotspot/jtreg/compiler/loopopts/TestZeroTripGuardShared.java +++ b/test/hotspot/jtreg/compiler/loopopts/TestZeroTripGuardShared.java @@ -26,7 +26,7 @@ * @bug 8305189 * @summary C2 failed "assert(_outcnt==1) failed: not unique" * @library /test/lib - * @run main/othervm -Xcomp -XX:CompileOnly=TestZeroTripGuardShared TestZeroTripGuardShared + * @run main/othervm -Xcomp -XX:CompileOnly=TestZeroTripGuardShared::* TestZeroTripGuardShared */ import jdk.test.lib.Utils; diff --git a/test/hotspot/jtreg/compiler/loopopts/superword/TestNegBaseOffset.java b/test/hotspot/jtreg/compiler/loopopts/superword/TestNegBaseOffset.java index 4fe83eed5e3..ebabba3c47b 100644 --- a/test/hotspot/jtreg/compiler/loopopts/superword/TestNegBaseOffset.java +++ b/test/hotspot/jtreg/compiler/loopopts/superword/TestNegBaseOffset.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -28,7 +28,7 @@ * @comment Test fails only with -Xcomp when profiling data is not present. * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions * -Xcomp -XX:-TieredCompilation -XX:CICompilerCount=1 - * -XX:CompileOnly=compiler/loopopts/superword/TestNegBaseOffset + * -XX:CompileOnly=compiler.loopopts.superword.TestNegBaseOffset::* * compiler.loopopts.superword.TestNegBaseOffset */ @@ -56,4 +56,3 @@ public class TestNegBaseOffset { } } } - diff --git a/test/hotspot/jtreg/compiler/loopopts/superword/TestPickLastMemoryState.java b/test/hotspot/jtreg/compiler/loopopts/superword/TestPickLastMemoryState.java index 4b71202e99f..4f1972dfdfe 100644 --- a/test/hotspot/jtreg/compiler/loopopts/superword/TestPickLastMemoryState.java +++ b/test/hotspot/jtreg/compiler/loopopts/superword/TestPickLastMemoryState.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2022, Arm Limited. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -28,11 +29,11 @@ * @bug 8290910 8293216 * @summary Test which needs to select the memory state of the last load in a load pack in SuperWord::co_locate_pack. * - * @run main/othervm -Xcomp -XX:CompileOnly=compiler/loopopts/superword/TestPickLastMemoryState + * @run main/othervm -Xcomp -XX:CompileOnly=compiler.loopopts.superword.TestPickLastMemoryState::* * -Xbatch -XX:MaxVectorSize=16 compiler.loopopts.superword.TestPickLastMemoryState - * @run main/othervm -Xcomp -XX:CompileOnly=compiler/loopopts/superword/TestPickLastMemoryState + * @run main/othervm -Xcomp -XX:CompileOnly=compiler.loopopts.superword.TestPickLastMemoryState::* * -Xbatch -XX:MaxVectorSize=32 compiler.loopopts.superword.TestPickLastMemoryState - * @run main/othervm -Xcomp -XX:CompileOnly=compiler/loopopts/superword/TestPickLastMemoryState + * @run main/othervm -Xcomp -XX:CompileOnly=compiler.loopopts.superword.TestPickLastMemoryState::* * -Xbatch compiler.loopopts.superword.TestPickLastMemoryState */ @@ -191,4 +192,3 @@ public class TestPickLastMemoryState { } } } - diff --git a/test/hotspot/jtreg/compiler/loopstripmining/DeadNodesInOuterLoopAtLoopCloning2.java b/test/hotspot/jtreg/compiler/loopstripmining/DeadNodesInOuterLoopAtLoopCloning2.java index d6e94d453c9..ea00c86f0f1 100644 --- a/test/hotspot/jtreg/compiler/loopstripmining/DeadNodesInOuterLoopAtLoopCloning2.java +++ b/test/hotspot/jtreg/compiler/loopstripmining/DeadNodesInOuterLoopAtLoopCloning2.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2019, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -26,7 +27,7 @@ * @bug 8234350 * @summary loop unrolling breaks when outer strip mined loop contains dead node * - * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=DeadNodesInOuterLoopAtLoopCloning2 DeadNodesInOuterLoopAtLoopCloning2 + * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=DeadNodesInOuterLoopAtLoopCloning2::* DeadNodesInOuterLoopAtLoopCloning2 * */ diff --git a/test/hotspot/jtreg/compiler/loopstripmining/TestCastIIAfterUnrollingInOuterLoop.java b/test/hotspot/jtreg/compiler/loopstripmining/TestCastIIAfterUnrollingInOuterLoop.java index 81ac6cbd1cf..eedfa5dbdca 100644 --- a/test/hotspot/jtreg/compiler/loopstripmining/TestCastIIAfterUnrollingInOuterLoop.java +++ b/test/hotspot/jtreg/compiler/loopstripmining/TestCastIIAfterUnrollingInOuterLoop.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2020, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -26,7 +27,7 @@ * @bug 8240335 * @summary C2: assert(found_sfpt) failed: no node in loop that's not input to safepoint * - * @run main/othervm -Xcomp -XX:CompileOnly=TestCastIIAfterUnrollingInOuterLoop TestCastIIAfterUnrollingInOuterLoop + * @run main/othervm -Xcomp -XX:CompileOnly=TestCastIIAfterUnrollingInOuterLoop::* TestCastIIAfterUnrollingInOuterLoop * */ diff --git a/test/hotspot/jtreg/compiler/loopstripmining/TestNondeleteableSafePoint.java b/test/hotspot/jtreg/compiler/loopstripmining/TestNondeleteableSafePoint.java index e8231eb72dd..25e3a35a684 100644 --- a/test/hotspot/jtreg/compiler/loopstripmining/TestNondeleteableSafePoint.java +++ b/test/hotspot/jtreg/compiler/loopstripmining/TestNondeleteableSafePoint.java @@ -26,7 +26,7 @@ * @bug 8307131 * @summary C2: assert(false) failed: malformed control flow * @library /test/lib - * @run main/othervm -Xcomp -XX:CompileOnly=TestNondeleteableSafePoint -XX:-TieredCompilation TestNondeleteableSafePoint + * @run main/othervm -Xcomp -XX:CompileOnly=TestNondeleteableSafePoint::* -XX:-TieredCompilation TestNondeleteableSafePoint */ import jdk.test.lib.Utils; diff --git a/test/hotspot/jtreg/compiler/loopstripmining/TestPinnedNodeInInnerLoop.java b/test/hotspot/jtreg/compiler/loopstripmining/TestPinnedNodeInInnerLoop.java index 6a234838fc1..f5a50758ade 100644 --- a/test/hotspot/jtreg/compiler/loopstripmining/TestPinnedNodeInInnerLoop.java +++ b/test/hotspot/jtreg/compiler/loopstripmining/TestPinnedNodeInInnerLoop.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -26,7 +27,7 @@ * @bug 8268672 * @summary C2: assert(!loop->is_member(u_loop)) failed: can be in outer loop or out of both loops only * - * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestPinnedNodeInInnerLoop TestPinnedNodeInInnerLoop + * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestPinnedNodeInInnerLoop::* TestPinnedNodeInInnerLoop * */ diff --git a/test/hotspot/jtreg/compiler/loopstripmining/TestStoreSunkToOuterLoop.java b/test/hotspot/jtreg/compiler/loopstripmining/TestStoreSunkToOuterLoop.java index defdfc7452f..948cc658e8e 100644 --- a/test/hotspot/jtreg/compiler/loopstripmining/TestStoreSunkToOuterLoop.java +++ b/test/hotspot/jtreg/compiler/loopstripmining/TestStoreSunkToOuterLoop.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2020, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -26,7 +27,7 @@ * @bug 8247763 * @summary assert(outer->outcnt() == 2) failed: 'only phis' failure in LoopNode::verify_strip_mined() * - * @run main/othervm -Xcomp -XX:CompileOnly=TestStoreSunkToOuterLoop TestStoreSunkToOuterLoop + * @run main/othervm -Xcomp -XX:CompileOnly=TestStoreSunkToOuterLoop::* TestStoreSunkToOuterLoop * */ diff --git a/test/hotspot/jtreg/compiler/loopstripmining/TestUseFromInnerInOuterUnusedBySfpt.java b/test/hotspot/jtreg/compiler/loopstripmining/TestUseFromInnerInOuterUnusedBySfpt.java index 678cad4d91a..02638ad3fd3 100644 --- a/test/hotspot/jtreg/compiler/loopstripmining/TestUseFromInnerInOuterUnusedBySfpt.java +++ b/test/hotspot/jtreg/compiler/loopstripmining/TestUseFromInnerInOuterUnusedBySfpt.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2022, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -26,7 +27,7 @@ * @bug 8295788 * @summary C2 compilation hits "assert((mode == ControlAroundStripMined && use == sfpt) || !use->is_reachable_from_root()) failed: missed a node" * - * @run main/othervm -Xcomp -XX:CompileOnly=TestUseFromInnerInOuterUnusedBySfpt TestUseFromInnerInOuterUnusedBySfpt + * @run main/othervm -Xcomp -XX:CompileOnly=TestUseFromInnerInOuterUnusedBySfpt::* TestUseFromInnerInOuterUnusedBySfpt * */ diff --git a/test/hotspot/jtreg/compiler/loopstripmining/UnexpectedNodeInOuterLoopWhenCloning.java b/test/hotspot/jtreg/compiler/loopstripmining/UnexpectedNodeInOuterLoopWhenCloning.java index 231cf353589..31f0f006f38 100644 --- a/test/hotspot/jtreg/compiler/loopstripmining/UnexpectedNodeInOuterLoopWhenCloning.java +++ b/test/hotspot/jtreg/compiler/loopstripmining/UnexpectedNodeInOuterLoopWhenCloning.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -26,7 +27,7 @@ * @bug 8202747 * @summary C2: assert(mode == ControlAroundStripMined && use == sfpt) failed: missed a node * - * @run main/othervm -Xcomp -Xbatch -XX:CompileOnly=UnexpectedNodeInOuterLoopWhenCloning -XX:-TieredCompilation UnexpectedNodeInOuterLoopWhenCloning + * @run main/othervm -Xcomp -Xbatch -XX:CompileOnly=UnexpectedNodeInOuterLoopWhenCloning::* -XX:-TieredCompilation UnexpectedNodeInOuterLoopWhenCloning * */ diff --git a/test/hotspot/jtreg/compiler/loopstripmining/UnexpectedPinnedNodeInOuterLoop.java b/test/hotspot/jtreg/compiler/loopstripmining/UnexpectedPinnedNodeInOuterLoop.java index 157523727ee..4bd927c2cd8 100644 --- a/test/hotspot/jtreg/compiler/loopstripmining/UnexpectedPinnedNodeInOuterLoop.java +++ b/test/hotspot/jtreg/compiler/loopstripmining/UnexpectedPinnedNodeInOuterLoop.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -26,7 +27,7 @@ * @bug 8202950 * @summary C2: assert(found_sfpt) failed: no node in loop that's not input to safepoint * - * @run main/othervm -Xcomp -Xbatch -XX:CompileOnly=UnexpectedPinnedNodeInOuterLoop -XX:-TieredCompilation UnexpectedPinnedNodeInOuterLoop + * @run main/othervm -Xcomp -Xbatch -XX:CompileOnly=UnexpectedPinnedNodeInOuterLoop::* -XX:-TieredCompilation UnexpectedPinnedNodeInOuterLoop * */ diff --git a/test/hotspot/jtreg/compiler/regalloc/VolatileLoadMemBarsOnlyUses.java b/test/hotspot/jtreg/compiler/regalloc/VolatileLoadMemBarsOnlyUses.java index e09fb048b99..c9cdbdb51e1 100644 --- a/test/hotspot/jtreg/compiler/regalloc/VolatileLoadMemBarsOnlyUses.java +++ b/test/hotspot/jtreg/compiler/regalloc/VolatileLoadMemBarsOnlyUses.java @@ -1,4 +1,5 @@ /* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -26,7 +27,7 @@ * @bug 8210389 * @summary C2: assert(n->outcnt() != 0 || C->top() == n || n->is_Proj()) failed: No dead instructions after post-alloc * - * @run main/othervm -Xcomp -XX:CompileOnly=VolatileLoadMemBarsOnlyUses VolatileLoadMemBarsOnlyUses + * @run main/othervm -Xcomp -XX:CompileOnly=VolatileLoadMemBarsOnlyUses::* VolatileLoadMemBarsOnlyUses * */ diff --git a/test/hotspot/jtreg/compiler/stable/TestStableBoolean.java b/test/hotspot/jtreg/compiler/stable/TestStableBoolean.java index 148f6eea776..8d49f626048 100644 --- a/test/hotspot/jtreg/compiler/stable/TestStableBoolean.java +++ b/test/hotspot/jtreg/compiler/stable/TestStableBoolean.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -30,23 +30,23 @@ * @build jdk.test.whitebox.WhiteBox * * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableBoolean*::get* * -XX:-TieredCompilation * -XX:+FoldStableValues * compiler.stable.TestStableBoolean * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableBoolean*::get* * -XX:-TieredCompilation * -XX:-FoldStableValues * compiler.stable.TestStableBoolean * * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableBoolean*::get* * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:+FoldStableValues * compiler.stable.TestStableBoolean * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableBoolean*::get* * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:-FoldStableValues * compiler.stable.TestStableBoolean diff --git a/test/hotspot/jtreg/compiler/stable/TestStableByte.java b/test/hotspot/jtreg/compiler/stable/TestStableByte.java index b72d6a238da..90041d65f18 100644 --- a/test/hotspot/jtreg/compiler/stable/TestStableByte.java +++ b/test/hotspot/jtreg/compiler/stable/TestStableByte.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -30,23 +30,23 @@ * @build jdk.test.whitebox.WhiteBox * * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableByte*::get* * -XX:-TieredCompilation * -XX:+FoldStableValues * compiler.stable.TestStableByte * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableByte*::get* * -XX:-TieredCompilation * -XX:-FoldStableValues * compiler.stable.TestStableByte * * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableByte*::get* * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:+FoldStableValues * compiler.stable.TestStableByte * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableByte*::get* * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:-FoldStableValues * compiler.stable.TestStableByte diff --git a/test/hotspot/jtreg/compiler/stable/TestStableChar.java b/test/hotspot/jtreg/compiler/stable/TestStableChar.java index f724685f832..495c0ba4f55 100644 --- a/test/hotspot/jtreg/compiler/stable/TestStableChar.java +++ b/test/hotspot/jtreg/compiler/stable/TestStableChar.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -30,23 +30,23 @@ * @build jdk.test.whitebox.WhiteBox * * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableChar*::get* * -XX:-TieredCompilation * -XX:+FoldStableValues * compiler.stable.TestStableChar * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableChar*::get* * -XX:-TieredCompilation * -XX:-FoldStableValues * compiler.stable.TestStableChar * * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableChar*::get* * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:+FoldStableValues * compiler.stable.TestStableChar * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableChar*::get* * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:-FoldStableValues * compiler.stable.TestStableChar diff --git a/test/hotspot/jtreg/compiler/stable/TestStableDouble.java b/test/hotspot/jtreg/compiler/stable/TestStableDouble.java index ecc391a1b8e..c31ef568335 100644 --- a/test/hotspot/jtreg/compiler/stable/TestStableDouble.java +++ b/test/hotspot/jtreg/compiler/stable/TestStableDouble.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -30,23 +30,23 @@ * @build jdk.test.whitebox.WhiteBox * * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableDouble*::get* * -XX:-TieredCompilation * -XX:+FoldStableValues * compiler.stable.TestStableDouble * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableDouble*::get* * -XX:-TieredCompilation * -XX:-FoldStableValues * compiler.stable.TestStableDouble * * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableDouble*::get* * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:+FoldStableValues * compiler.stable.TestStableDouble * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableDouble*::get* * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:-FoldStableValues * compiler.stable.TestStableDouble diff --git a/test/hotspot/jtreg/compiler/stable/TestStableFloat.java b/test/hotspot/jtreg/compiler/stable/TestStableFloat.java index ab8e93467ff..b321615cdd9 100644 --- a/test/hotspot/jtreg/compiler/stable/TestStableFloat.java +++ b/test/hotspot/jtreg/compiler/stable/TestStableFloat.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -30,23 +30,23 @@ * @build jdk.test.whitebox.WhiteBox * * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableFloat*::get* * -XX:-TieredCompilation * -XX:+FoldStableValues * compiler.stable.TestStableFloat * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableFloat*::get* * -XX:-TieredCompilation * -XX:-FoldStableValues * compiler.stable.TestStableFloat * * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableFloat*::get* * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:+FoldStableValues * compiler.stable.TestStableFloat * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableFloat*::get* * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:-FoldStableValues * compiler.stable.TestStableFloat diff --git a/test/hotspot/jtreg/compiler/stable/TestStableInt.java b/test/hotspot/jtreg/compiler/stable/TestStableInt.java index a7dddaecd3a..3210cfbc621 100644 --- a/test/hotspot/jtreg/compiler/stable/TestStableInt.java +++ b/test/hotspot/jtreg/compiler/stable/TestStableInt.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -30,23 +30,23 @@ * @build jdk.test.whitebox.WhiteBox * * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableInt*::get* * -XX:-TieredCompilation * -XX:+FoldStableValues * compiler.stable.TestStableInt * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableInt*::get* * -XX:-TieredCompilation * -XX:-FoldStableValues * compiler.stable.TestStableInt * * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableInt*::get* * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:+FoldStableValues * compiler.stable.TestStableInt * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableInt*::get* * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:-FoldStableValues * compiler.stable.TestStableInt diff --git a/test/hotspot/jtreg/compiler/stable/TestStableLong.java b/test/hotspot/jtreg/compiler/stable/TestStableLong.java index 6d0f08048fe..6b78a72cfd7 100644 --- a/test/hotspot/jtreg/compiler/stable/TestStableLong.java +++ b/test/hotspot/jtreg/compiler/stable/TestStableLong.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -30,23 +30,23 @@ * @build jdk.test.whitebox.WhiteBox * * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableLong*::get* * -XX:-TieredCompilation * -XX:+FoldStableValues * compiler.stable.TestStableLong * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableLong*::get* * -XX:-TieredCompilation * -XX:-FoldStableValues * compiler.stable.TestStableLong * * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableLong*::get* * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:+FoldStableValues * compiler.stable.TestStableLong * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableLong*::get* * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:-FoldStableValues * compiler.stable.TestStableLong diff --git a/test/hotspot/jtreg/compiler/stable/TestStableMemoryBarrier.java b/test/hotspot/jtreg/compiler/stable/TestStableMemoryBarrier.java index e74d1b66611..8102aaa6f18 100644 --- a/test/hotspot/jtreg/compiler/stable/TestStableMemoryBarrier.java +++ b/test/hotspot/jtreg/compiler/stable/TestStableMemoryBarrier.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -27,7 +27,7 @@ * @summary tests memory barrier correctly inserted for stable fields * @modules java.base/jdk.internal.vm.annotation * - * @run main/bootclasspath/othervm -Xcomp -XX:CompileOnly=::testCompile + * @run main/bootclasspath/othervm -Xcomp -XX:CompileOnly=*NotDominate::testCompile * compiler.stable.TestStableMemoryBarrier * * @author hui.shi@linaro.org @@ -65,4 +65,3 @@ public class TestStableMemoryBarrier { } } - diff --git a/test/hotspot/jtreg/compiler/stable/TestStableMismatched.java b/test/hotspot/jtreg/compiler/stable/TestStableMismatched.java index be783627173..85cd98c1d28 100644 --- a/test/hotspot/jtreg/compiler/stable/TestStableMismatched.java +++ b/test/hotspot/jtreg/compiler/stable/TestStableMismatched.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -27,10 +27,10 @@ * @summary Tests if mismatched char load from stable byte[] returns correct result * * @run main/othervm -XX:-CompactStrings -XX:TieredStopAtLevel=1 -Xcomp - * -XX:CompileOnly=compiler.stable.TestStableMismatched::test,::charAt + * -XX:CompileOnly=compiler.stable.TestStableMismatched::test,*::charAt * compiler.stable.TestStableMismatched * @run main/othervm -XX:-CompactStrings -XX:-TieredCompilation -Xcomp - * -XX:CompileOnly=compiler.stable.TestStableMismatched::test,::charAt + * -XX:CompileOnly=compiler.stable.TestStableMismatched::test,*::charAt * compiler.stable.TestStableMismatched */ @@ -50,4 +50,3 @@ public class TestStableMismatched { } } } - diff --git a/test/hotspot/jtreg/compiler/stable/TestStableObject.java b/test/hotspot/jtreg/compiler/stable/TestStableObject.java index a4b0b070c31..e1de9c376f7 100644 --- a/test/hotspot/jtreg/compiler/stable/TestStableObject.java +++ b/test/hotspot/jtreg/compiler/stable/TestStableObject.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -30,23 +30,23 @@ * @build jdk.test.whitebox.WhiteBox * * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableObject*::get* * -XX:-TieredCompilation * -XX:+FoldStableValues * compiler.stable.TestStableObject * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableObject*::get* * -XX:-TieredCompilation * -XX:-FoldStableValues * compiler.stable.TestStableObject * * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableObject*::get* * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:+FoldStableValues * compiler.stable.TestStableObject * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableObject*::get* * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:-FoldStableValues * compiler.stable.TestStableObject diff --git a/test/hotspot/jtreg/compiler/stable/TestStableShort.java b/test/hotspot/jtreg/compiler/stable/TestStableShort.java index aa076e79350..8428c7c4afe 100644 --- a/test/hotspot/jtreg/compiler/stable/TestStableShort.java +++ b/test/hotspot/jtreg/compiler/stable/TestStableShort.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -30,23 +30,23 @@ * @build jdk.test.whitebox.WhiteBox * * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableShort*::get* * -XX:-TieredCompilation * -XX:+FoldStableValues * compiler.stable.TestStableShort * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableShort*::get* * -XX:-TieredCompilation * -XX:-FoldStableValues * compiler.stable.TestStableShort * * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableShort*::get* * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:+FoldStableValues * compiler.stable.TestStableShort * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp - * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4 + * -XX:CompileOnly=*TestStableShort*::get* * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:-FoldStableValues * compiler.stable.TestStableShort diff --git a/test/hotspot/jtreg/compiler/stable/TestStableUByte.java b/test/hotspot/jtreg/compiler/stable/TestStableUByte.java index 2aa7a6e92a8..c1b43d23cc2 100644 --- a/test/hotspot/jtreg/compiler/stable/TestStableUByte.java +++ b/test/hotspot/jtreg/compiler/stable/TestStableUByte.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -33,26 +33,26 @@ * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp * -XX:-TieredCompilation * -XX:+FoldStableValues - * -XX:CompileOnly=::get,::get1 + * -XX:CompileOnly=*TestStableUByte*::get* * compiler.stable.TestStableUByte * @run main/bootclasspath/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+AlwaysIncrementalInline * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp * -XX:-TieredCompilation * -XX:-FoldStableValues - * -XX:CompileOnly=::get,::get1 + * -XX:CompileOnly=*TestStableUByte*::get* * compiler.stable.TestStableUByte * * @run main/bootclasspath/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+AlwaysIncrementalInline * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:+FoldStableValues - * -XX:CompileOnly=::get,::get1 + * -XX:CompileOnly=*TestStableUByte*::get* * compiler.stable.TestStableUByte * @run main/bootclasspath/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+AlwaysIncrementalInline * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:-FoldStableValues - * -XX:CompileOnly=::get,::get1 + * -XX:CompileOnly=*TestStableUByte*::get* * compiler.stable.TestStableUByte */ diff --git a/test/hotspot/jtreg/compiler/stable/TestStableUShort.java b/test/hotspot/jtreg/compiler/stable/TestStableUShort.java index fe6f938b80d..1134cbcb2a3 100644 --- a/test/hotspot/jtreg/compiler/stable/TestStableUShort.java +++ b/test/hotspot/jtreg/compiler/stable/TestStableUShort.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -33,26 +33,26 @@ * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp * -XX:-TieredCompilation * -XX:+FoldStableValues - * -XX:CompileOnly=::get,::get1 + * -XX:CompileOnly=*TestStableUShort*::get* * compiler.stable.TestStableUShort * @run main/bootclasspath/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+AlwaysIncrementalInline * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp * -XX:-TieredCompilation * -XX:-FoldStableValues - * -XX:CompileOnly=::get,::get1 + * -XX:CompileOnly=*TestStableUShort*::get* * compiler.stable.TestStableUShort * * @run main/bootclasspath/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+AlwaysIncrementalInline * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:+FoldStableValues - * -XX:CompileOnly=::get,::get1 + * -XX:CompileOnly=*TestStableUShort*::get* * compiler.stable.TestStableUShort * @run main/bootclasspath/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+AlwaysIncrementalInline * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp * -XX:+TieredCompilation -XX:TieredStopAtLevel=1 * -XX:-FoldStableValues - * -XX:CompileOnly=::get,::get1 + * -XX:CompileOnly=*TestStableUShort*::get* * compiler.stable.TestStableUShort */ diff --git a/test/hotspot/jtreg/compiler/vectorization/TestSmallVectorPopIndex.java b/test/hotspot/jtreg/compiler/vectorization/TestSmallVectorPopIndex.java index 09fbd162c4b..0d28232b396 100644 --- a/test/hotspot/jtreg/compiler/vectorization/TestSmallVectorPopIndex.java +++ b/test/hotspot/jtreg/compiler/vectorization/TestSmallVectorPopIndex.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -26,7 +26,7 @@ * @bug 8287517 * @summary Test bug fix for JDK-8287517 related to fuzzer test failure in x86_64 * @requires vm.compiler2.enabled -* @run main/othervm -Xcomp -XX:CompileOnly=compiler/vectorization/TestSmallVectorPopIndex.test -XX:MaxVectorSize=8 compiler.vectorization.TestSmallVectorPopIndex +* @run main/othervm -Xcomp -XX:CompileOnly=compiler.vectorization.TestSmallVectorPopIndex::test -XX:MaxVectorSize=8 compiler.vectorization.TestSmallVectorPopIndex */ package compiler.vectorization; diff --git a/test/jdk/jdk/internal/vm/Continuation/Basic.java b/test/jdk/jdk/internal/vm/Continuation/Basic.java index f7858cfa22b..9fd3fb06099 100644 --- a/test/jdk/jdk/internal/vm/Continuation/Basic.java +++ b/test/jdk/jdk/internal/vm/Continuation/Basic.java @@ -32,11 +32,11 @@ * * @run testng/othervm -XX:+UnlockDiagnosticVMOptions -XX:+ShowHiddenFrames -Xint Basic * -* @run testng/othervm -XX:+UnlockDiagnosticVMOptions -XX:+ShowHiddenFrames -Xcomp -XX:TieredStopAtLevel=3 -XX:CompileOnly=jdk/internal/vm/Continuation,Basic Basic -* @run testng/othervm -XX:+UnlockDiagnosticVMOptions -XX:+ShowHiddenFrames -Xcomp -XX:-TieredCompilation -XX:CompileOnly=jdk/internal/vm/Continuation,Basic Basic -* @run testng/othervm -XX:+UnlockDiagnosticVMOptions -XX:+ShowHiddenFrames -Xcomp -XX:-TieredCompilation -XX:CompileOnly=jdk/internal/vm/Continuation,Basic -XX:CompileCommand=exclude,Basic.manyArgsDriver Basic -* @run testng/othervm -XX:+UnlockDiagnosticVMOptions -XX:+ShowHiddenFrames -Xcomp -XX:-TieredCompilation -XX:CompileOnly=jdk/internal/vm/Continuation,Basic -XX:CompileCommand=exclude,jdk/internal/vm/Continuation.enter Basic -* @run testng/othervm -XX:+UnlockDiagnosticVMOptions -XX:+ShowHiddenFrames -Xcomp -XX:-TieredCompilation -XX:CompileOnly=jdk/internal/vm/Continuation,Basic -XX:CompileCommand=inline,jdk/internal/vm/Continuation.run Basic +* @run testng/othervm -XX:+UnlockDiagnosticVMOptions -XX:+ShowHiddenFrames -Xcomp -XX:TieredStopAtLevel=3 -XX:CompileOnly=jdk.internal.vm.Continuation::*,Basic::* Basic +* @run testng/othervm -XX:+UnlockDiagnosticVMOptions -XX:+ShowHiddenFrames -Xcomp -XX:-TieredCompilation -XX:CompileOnly=jdk.internal.vm.Continuation::*,Basic::* Basic +* @run testng/othervm -XX:+UnlockDiagnosticVMOptions -XX:+ShowHiddenFrames -Xcomp -XX:-TieredCompilation -XX:CompileOnly=jdk.internal.vm.Continuation::*,Basic::* -XX:CompileCommand=exclude,Basic.manyArgsDriver Basic +* @run testng/othervm -XX:+UnlockDiagnosticVMOptions -XX:+ShowHiddenFrames -Xcomp -XX:-TieredCompilation -XX:CompileOnly=jdk.internal.vm.Continuation::*,Basic::* -XX:CompileCommand=exclude,jdk/internal/vm/Continuation.enter Basic +* @run testng/othervm -XX:+UnlockDiagnosticVMOptions -XX:+ShowHiddenFrames -Xcomp -XX:-TieredCompilation -XX:CompileOnly=jdk.internal.vm.Continuation::*,Basic::* -XX:CompileCommand=inline,jdk/internal/vm/Continuation.run Basic */ /** @@ -47,8 +47,8 @@ * @build java.base/java.lang.StackWalkerHelper * * @run testng/othervm -XX:+UnlockDiagnosticVMOptions -XX:+ShowHiddenFrames -XX:+VerifyStack -Xint Basic -* @run testng/othervm -XX:+UnlockDiagnosticVMOptions -XX:+ShowHiddenFrames -XX:+VerifyStack -Xcomp -XX:TieredStopAtLevel=3 -XX:CompileOnly=jdk/internal/vm/Continuation,Basic Basic -* @run testng/othervm -XX:+UnlockDiagnosticVMOptions -XX:+ShowHiddenFrames -XX:+VerifyStack -Xcomp -XX:-TieredCompilation -XX:CompileOnly=jdk/internal/vm/Continuation,Basic Basic +* @run testng/othervm -XX:+UnlockDiagnosticVMOptions -XX:+ShowHiddenFrames -XX:+VerifyStack -Xcomp -XX:TieredStopAtLevel=3 -XX:CompileOnly=jdk.internal.vm.Continuation::*,Basic::* Basic +* @run testng/othervm -XX:+UnlockDiagnosticVMOptions -XX:+ShowHiddenFrames -XX:+VerifyStack -Xcomp -XX:-TieredCompilation -XX:CompileOnly=jdk.internal.vm.Continuation::*,Basic::* Basic */ import jdk.internal.vm.Continuation; diff --git a/test/jdk/jdk/internal/vm/Continuation/ClassUnloading.java b/test/jdk/jdk/internal/vm/Continuation/ClassUnloading.java index c69d7e1723d..1f28bfaad6d 100644 --- a/test/jdk/jdk/internal/vm/Continuation/ClassUnloading.java +++ b/test/jdk/jdk/internal/vm/Continuation/ClassUnloading.java @@ -29,10 +29,10 @@ * @compile ClassUnloading.java * @run main/othervm -XX:-UseCompressedOops ClassUnloading * @run main/othervm -XX:+UseCompressedOops ClassUnloading -* @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=jdk/internal/vm/Continuation,ClassUnloading ClassUnloading +* @run main/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=jdk.internal.vm.Continuation::*,ClassUnloading::* ClassUnloading */ -// @run testng/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=jdk/internal/vm/Continuation,Basic Basic +// @run testng/othervm -Xcomp -XX:-TieredCompilation -XX:CompileOnly=jdk.internal.vm.Continuation::*,Basic::* Basic import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodHandles.Lookup; diff --git a/test/jdk/jdk/internal/vm/Continuation/HumongousStack.java b/test/jdk/jdk/internal/vm/Continuation/HumongousStack.java index cd3eeea9d7b..9b88d1b2963 100644 --- a/test/jdk/jdk/internal/vm/Continuation/HumongousStack.java +++ b/test/jdk/jdk/internal/vm/Continuation/HumongousStack.java @@ -29,8 +29,8 @@ * * @requires vm.gc.G1 * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-VerifyContinuations -Xms2g -Xmx2g -XX:+UseG1GC -XX:G1HeapRegionSize=1m -Xss10m -Xint HumongousStack 5000 -* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-VerifyContinuations -Xms2g -Xmx2g -XX:+UseG1GC -XX:G1HeapRegionSize=1m -Xss10m -Xcomp -XX:TieredStopAtLevel=3 -XX:CompileOnly=jdk/internal/vm/Continuation,HumongousStack HumongousStack 10000 -* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-VerifyContinuations -Xms2g -Xmx2g -XX:+UseG1GC -XX:G1HeapRegionSize=1m -Xss10m -Xcomp -XX:-TieredCompilation -XX:CompileOnly=jdk/internal/vm/Continuation,HumongousStack HumongousStack 10000 +* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-VerifyContinuations -Xms2g -Xmx2g -XX:+UseG1GC -XX:G1HeapRegionSize=1m -Xss10m -Xcomp -XX:TieredStopAtLevel=3 -XX:CompileOnly=jdk.internal.vm.Continuation::*,HumongousStack::* HumongousStack 10000 +* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-VerifyContinuations -Xms2g -Xmx2g -XX:+UseG1GC -XX:G1HeapRegionSize=1m -Xss10m -Xcomp -XX:-TieredCompilation -XX:CompileOnly=jdk.internal.vm.Continuation::*,HumongousStack::* HumongousStack 10000 */ import jdk.internal.vm.Continuation; diff --git a/test/jdk/jdk/internal/vm/Continuation/LiveFramesDriver.java b/test/jdk/jdk/internal/vm/Continuation/LiveFramesDriver.java index f1eb3e83499..d53828dc8d7 100644 --- a/test/jdk/jdk/internal/vm/Continuation/LiveFramesDriver.java +++ b/test/jdk/jdk/internal/vm/Continuation/LiveFramesDriver.java @@ -28,8 +28,8 @@ * @build java.base/java.lang.LiveFrames * @modules java.base/jdk.internal.vm * @run main/othervm -XX:+UnlockDiagnosticVMOptions -Xint LiveFramesDriver - * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:-TieredCompilation -Xcomp -XX:CompileOnly=jdk/internal/vm/Continuation,java/lang/LiveFrames LiveFramesDriver - * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+TieredCompilation -XX:TieredStopAtLevel=3 -Xcomp -XX:CompileOnly=jdk/internal/vm/Continuation,java/lang/LiveFrames LiveFramesDriver + * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:-TieredCompilation -Xcomp -XX:CompileOnly=jdk.internal.vm.Continuation::*,java.lang.LiveFrames::* LiveFramesDriver + * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+TieredCompilation -XX:TieredStopAtLevel=3 -Xcomp -XX:CompileOnly=jdk.internal.vm.Continuation::*,java.lang.LiveFrames::* LiveFramesDriver */ diff --git a/test/jdk/jdk/internal/vm/Continuation/Scoped.java b/test/jdk/jdk/internal/vm/Continuation/Scoped.java index 47cf0e67789..be9a5a425b3 100644 --- a/test/jdk/jdk/internal/vm/Continuation/Scoped.java +++ b/test/jdk/jdk/internal/vm/Continuation/Scoped.java @@ -28,7 +28,7 @@ * @modules java.base/jdk.internal.vm * @build java.base/java.lang.StackWalkerHelper * @run testng/othervm -XX:+UnlockDiagnosticVMOptions -XX:+ShowHiddenFrames -Xint Scoped - * @run testng/othervm -XX:+UnlockDiagnosticVMOptions -XX:+ShowHiddenFrames -Xcomp -XX:CompileOnly=jdk/internal/vm/Continuation,Scoped Scoped + * @run testng/othervm -XX:+UnlockDiagnosticVMOptions -XX:+ShowHiddenFrames -Xcomp -XX:CompileOnly=jdk.internal.vm.Continuation::*,*Scoped::* Scoped */ import jdk.internal.vm.Continuation;