8243618: compiler/rtm/cli tests can be run w/o WhiteBox

Reviewed-by: thartmann
This commit is contained in:
Igor Ignatyev 2020-04-27 09:15:47 -07:00
parent 27dc913618
commit 9097c799f2
17 changed files with 17 additions and 73 deletions

View File

@ -30,12 +30,7 @@
* @modules java.base/jdk.internal.misc
* java.management
* @requires vm.rtm.cpu & vm.rtm.compiler
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI
* compiler.rtm.cli.TestPrintPreciseRTMLockingStatisticsOptionOnSupportedConfig
* @run driver compiler.rtm.cli.TestPrintPreciseRTMLockingStatisticsOptionOnSupportedConfig
*/
package compiler.rtm.cli;

View File

@ -30,13 +30,7 @@
* @modules java.base/jdk.internal.misc
* java.management
* @requires !vm.rtm.cpu & vm.rtm.compiler
* @build sun.hotspot.WhiteBox
* @build compiler.rtm.cli.TestPrintPreciseRTMLockingStatisticsOptionOnUnsupportedConfig
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI
* compiler.rtm.cli.TestPrintPreciseRTMLockingStatisticsOptionOnUnsupportedConfig
* @run driver compiler.rtm.cli.TestPrintPreciseRTMLockingStatisticsOptionOnUnsupportedConfig
*/
package compiler.rtm.cli;

View File

@ -29,7 +29,7 @@
* @modules java.base/jdk.internal.misc
* java.management
* @requires vm.rtm.compiler
* @run main/othervm compiler.rtm.cli.TestRTMAbortThresholdOption
* @run driver compiler.rtm.cli.TestRTMAbortThresholdOption
*/
package compiler.rtm.cli;

View File

@ -29,7 +29,7 @@
* @modules java.base/jdk.internal.misc
* java.management
* @requires vm.rtm.compiler
* @run main/othervm compiler.rtm.cli.TestRTMLockingCalculationDelayOption
* @run driver compiler.rtm.cli.TestRTMLockingCalculationDelayOption
*/
package compiler.rtm.cli;

View File

@ -29,7 +29,7 @@
* @modules java.base/jdk.internal.misc
* java.management
* @requires vm.rtm.compiler
* @run main/othervm compiler.rtm.cli.TestRTMLockingThresholdOption
* @run driver compiler.rtm.cli.TestRTMLockingThresholdOption
*/
package compiler.rtm.cli;

View File

@ -29,7 +29,7 @@
* @modules java.base/jdk.internal.misc
* java.management
* @requires vm.rtm.compiler
* @run main/othervm compiler.rtm.cli.TestRTMRetryCountOption
* @run driver compiler.rtm.cli.TestRTMRetryCountOption
*/
package compiler.rtm.cli;

View File

@ -29,7 +29,7 @@
* @modules java.base/jdk.internal.misc
* java.management
* @requires vm.rtm.compiler
* @run main/othervm compiler.rtm.cli.TestRTMSpinLoopCountOption
* @run driver compiler.rtm.cli.TestRTMSpinLoopCountOption
*/
package compiler.rtm.cli;

View File

@ -30,12 +30,7 @@
* @modules java.base/jdk.internal.misc
* java.management
* @requires vm.rtm.cpu & vm.rtm.compiler
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI
* compiler.rtm.cli.TestRTMTotalCountIncrRateOptionOnSupportedConfig
* @run driver compiler.rtm.cli.TestRTMTotalCountIncrRateOptionOnSupportedConfig
*/
package compiler.rtm.cli;

View File

@ -30,12 +30,7 @@
* @modules java.base/jdk.internal.misc
* java.management
* @requires vm.rtm.cpu & vm.rtm.compiler
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI
* compiler.rtm.cli.TestUseRTMDeoptOptionOnSupportedConfig
* @run driver compiler.rtm.cli.TestUseRTMDeoptOptionOnSupportedConfig
*/
package compiler.rtm.cli;

View File

@ -30,12 +30,7 @@
* @modules java.base/jdk.internal.misc
* java.management
* @requires !vm.rtm.cpu & vm.rtm.compiler
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI
* compiler.rtm.cli.TestUseRTMDeoptOptionOnUnsupportedConfig
* @run driver compiler.rtm.cli.TestUseRTMDeoptOptionOnUnsupportedConfig
*/
package compiler.rtm.cli;

View File

@ -30,12 +30,7 @@
* @modules java.base/jdk.internal.misc
* java.management
* @requires vm.rtm.cpu & vm.rtm.compiler
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI
* compiler.rtm.cli.TestUseRTMForStackLocksOptionOnSupportedConfig
* @run driver compiler.rtm.cli.TestUseRTMForStackLocksOptionOnSupportedConfig
*/
package compiler.rtm.cli;

View File

@ -30,12 +30,7 @@
* @modules java.base/jdk.internal.misc
* java.management
* @requires !vm.rtm.cpu & vm.rtm.compiler
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI
* compiler.rtm.cli.TestUseRTMForStackLocksOptionOnUnsupportedConfig
* @run driver compiler.rtm.cli.TestUseRTMForStackLocksOptionOnUnsupportedConfig
*/
package compiler.rtm.cli;

View File

@ -30,12 +30,7 @@
* @modules java.base/jdk.internal.misc
* java.management
* @requires vm.rtm.cpu & vm.rtm.compiler
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI
* compiler.rtm.cli.TestUseRTMLockingOptionOnSupportedConfig
* @run driver compiler.rtm.cli.TestUseRTMLockingOptionOnSupportedConfig
*/
package compiler.rtm.cli;

View File

@ -30,12 +30,7 @@
* @modules java.base/jdk.internal.misc
* java.management
* @requires !vm.rtm.cpu & vm.rtm.compiler
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI
* compiler.rtm.cli.TestUseRTMLockingOptionOnUnsupportedCPU
* @run driver compiler.rtm.cli.TestUseRTMLockingOptionOnUnsupportedCPU
*/
package compiler.rtm.cli;

View File

@ -30,12 +30,7 @@
* @modules java.base/jdk.internal.misc
* java.management
* @requires vm.rtm.cpu & !(vm.flavor == "server" & !vm.emulatedClient)
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI
* compiler.rtm.cli.TestUseRTMLockingOptionOnUnsupportedVM
* @run driver compiler.rtm.cli.TestUseRTMLockingOptionOnUnsupportedVM
*/
package compiler.rtm.cli;

View File

@ -30,12 +30,7 @@
* @modules java.base/jdk.internal.misc
* java.management
* @requires vm.rtm.cpu & vm.rtm.compiler
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI
* compiler.rtm.cli.TestUseRTMLockingOptionWithBiasedLocking
* @run driver compiler.rtm.cli.TestUseRTMLockingOptionWithBiasedLocking
*/
package compiler.rtm.cli;

View File

@ -29,7 +29,7 @@
* @modules java.base/jdk.internal.misc
* java.management
* @requires vm.rtm.compiler
* @run main/othervm compiler.rtm.cli.TestUseRTMXendForLockBusyOption
* @run driver compiler.rtm.cli.TestUseRTMXendForLockBusyOption
*/
package compiler.rtm.cli;