Skip to content

Commit 81b1502

Browse files
committed
8266161: mark hotspot compiler/rtm tests which ignore VM flags
Reviewed-by: kvn
1 parent 4a8324d commit 81b1502

17 files changed

+34
-17
lines changed

test/hotspot/jtreg/compiler/rtm/cli/TestPrintPreciseRTMLockingStatisticsOptionOnSupportedConfig.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -29,6 +29,7 @@
2929
* @library /test/lib /
3030
* @modules java.base/jdk.internal.misc
3131
* java.management
32+
* @requires vm.flagless
3233
* @requires vm.rtm.cpu & vm.rtm.compiler
3334
* @run driver compiler.rtm.cli.TestPrintPreciseRTMLockingStatisticsOptionOnSupportedConfig
3435
*/

test/hotspot/jtreg/compiler/rtm/cli/TestPrintPreciseRTMLockingStatisticsOptionOnUnsupportedConfig.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -29,6 +29,7 @@
2929
* @library /test/lib /
3030
* @modules java.base/jdk.internal.misc
3131
* java.management
32+
* @requires vm.flagless
3233
* @requires !vm.rtm.cpu & vm.rtm.compiler
3334
* @run driver compiler.rtm.cli.TestPrintPreciseRTMLockingStatisticsOptionOnUnsupportedConfig
3435
*/

test/hotspot/jtreg/compiler/rtm/cli/TestRTMAbortThresholdOption.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -28,6 +28,7 @@
2828
* @library /test/lib /
2929
* @modules java.base/jdk.internal.misc
3030
* java.management
31+
* @requires vm.flagless
3132
* @requires vm.rtm.compiler
3233
* @run driver compiler.rtm.cli.TestRTMAbortThresholdOption
3334
*/

test/hotspot/jtreg/compiler/rtm/cli/TestRTMLockingCalculationDelayOption.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -28,6 +28,7 @@
2828
* @library /test/lib /
2929
* @modules java.base/jdk.internal.misc
3030
* java.management
31+
* @requires vm.flagless
3132
* @requires vm.rtm.compiler
3233
* @run driver compiler.rtm.cli.TestRTMLockingCalculationDelayOption
3334
*/

test/hotspot/jtreg/compiler/rtm/cli/TestRTMLockingThresholdOption.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -28,6 +28,7 @@
2828
* @library /test/lib /
2929
* @modules java.base/jdk.internal.misc
3030
* java.management
31+
* @requires vm.flagless
3132
* @requires vm.rtm.compiler
3233
* @run driver compiler.rtm.cli.TestRTMLockingThresholdOption
3334
*/

test/hotspot/jtreg/compiler/rtm/cli/TestRTMRetryCountOption.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -28,6 +28,7 @@
2828
* @library /test/lib /
2929
* @modules java.base/jdk.internal.misc
3030
* java.management
31+
* @requires vm.flagless
3132
* @requires vm.rtm.compiler
3233
* @run driver compiler.rtm.cli.TestRTMRetryCountOption
3334
*/

test/hotspot/jtreg/compiler/rtm/cli/TestRTMSpinLoopCountOption.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -28,6 +28,7 @@
2828
* @library /test/lib /
2929
* @modules java.base/jdk.internal.misc
3030
* java.management
31+
* @requires vm.flagless
3132
* @requires vm.rtm.compiler
3233
* @run driver compiler.rtm.cli.TestRTMSpinLoopCountOption
3334
*/

test/hotspot/jtreg/compiler/rtm/cli/TestRTMTotalCountIncrRateOptionOnSupportedConfig.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -29,6 +29,7 @@
2929
* @library /test/lib /
3030
* @modules java.base/jdk.internal.misc
3131
* java.management
32+
* @requires vm.flagless
3233
* @requires vm.rtm.cpu & vm.rtm.compiler
3334
* @run driver compiler.rtm.cli.TestRTMTotalCountIncrRateOptionOnSupportedConfig
3435
*/

test/hotspot/jtreg/compiler/rtm/cli/TestUseRTMDeoptOptionOnSupportedConfig.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -29,6 +29,7 @@
2929
* @library /test/lib /
3030
* @modules java.base/jdk.internal.misc
3131
* java.management
32+
* @requires vm.flagless
3233
* @requires vm.rtm.cpu & vm.rtm.compiler
3334
* @run driver compiler.rtm.cli.TestUseRTMDeoptOptionOnSupportedConfig
3435
*/

test/hotspot/jtreg/compiler/rtm/cli/TestUseRTMDeoptOptionOnUnsupportedConfig.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -29,6 +29,7 @@
2929
* @library /test/lib /
3030
* @modules java.base/jdk.internal.misc
3131
* java.management
32+
* @requires vm.flagless
3233
* @requires !vm.rtm.cpu & vm.rtm.compiler
3334
* @run driver compiler.rtm.cli.TestUseRTMDeoptOptionOnUnsupportedConfig
3435
*/

test/hotspot/jtreg/compiler/rtm/cli/TestUseRTMForStackLocksOptionOnSupportedConfig.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -29,6 +29,7 @@
2929
* @library /test/lib /
3030
* @modules java.base/jdk.internal.misc
3131
* java.management
32+
* @requires vm.flagless
3233
* @requires vm.rtm.cpu & vm.rtm.compiler
3334
* @run driver compiler.rtm.cli.TestUseRTMForStackLocksOptionOnSupportedConfig
3435
*/

test/hotspot/jtreg/compiler/rtm/cli/TestUseRTMForStackLocksOptionOnUnsupportedConfig.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -29,6 +29,7 @@
2929
* @library /test/lib /
3030
* @modules java.base/jdk.internal.misc
3131
* java.management
32+
* @requires vm.flagless
3233
* @requires !vm.rtm.cpu & vm.rtm.compiler
3334
* @run driver compiler.rtm.cli.TestUseRTMForStackLocksOptionOnUnsupportedConfig
3435
*/

test/hotspot/jtreg/compiler/rtm/cli/TestUseRTMLockingOptionOnSupportedConfig.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -29,6 +29,7 @@
2929
* @library /test/lib /
3030
* @modules java.base/jdk.internal.misc
3131
* java.management
32+
* @requires vm.flagless
3233
* @requires vm.rtm.cpu & vm.rtm.compiler
3334
* @run driver compiler.rtm.cli.TestUseRTMLockingOptionOnSupportedConfig
3435
*/

test/hotspot/jtreg/compiler/rtm/cli/TestUseRTMLockingOptionOnUnsupportedCPU.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -29,6 +29,7 @@
2929
* @library /test/lib /
3030
* @modules java.base/jdk.internal.misc
3131
* java.management
32+
* @requires vm.flagless
3233
* @requires !vm.rtm.cpu & vm.rtm.compiler
3334
* @run driver compiler.rtm.cli.TestUseRTMLockingOptionOnUnsupportedCPU
3435
*/

test/hotspot/jtreg/compiler/rtm/cli/TestUseRTMLockingOptionOnUnsupportedVM.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -29,6 +29,7 @@
2929
* @library /test/lib /
3030
* @modules java.base/jdk.internal.misc
3131
* java.management
32+
* @requires vm.flagless
3233
* @requires vm.rtm.cpu & !(vm.flavor == "server" & !vm.emulatedClient)
3334
* @run driver compiler.rtm.cli.TestUseRTMLockingOptionOnUnsupportedVM
3435
*/

test/hotspot/jtreg/compiler/rtm/cli/TestUseRTMLockingOptionWithBiasedLocking.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -29,6 +29,7 @@
2929
* @library /test/lib /
3030
* @modules java.base/jdk.internal.misc
3131
* java.management
32+
* @requires vm.flagless
3233
* @requires vm.rtm.cpu & vm.rtm.compiler
3334
* @run driver compiler.rtm.cli.TestUseRTMLockingOptionWithBiasedLocking
3435
*/

test/hotspot/jtreg/compiler/rtm/cli/TestUseRTMXendForLockBusyOption.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -28,6 +28,7 @@
2828
* @library /test/lib /
2929
* @modules java.base/jdk.internal.misc
3030
* java.management
31+
* @requires vm.flagless
3132
* @requires vm.rtm.compiler
3233
* @run driver compiler.rtm.cli.TestUseRTMXendForLockBusyOption
3334
*/

0 commit comments

Comments
 (0)