8209972: [GRAAL] Don't run RTM tests with Graal
Reviewed-by: kvn, goetz
This commit is contained in:
parent
05ed45cef1
commit
a6d0d07957
@ -56,7 +56,7 @@ requires.properties= \
|
||||
vm.hasSAandCanAttach \
|
||||
vm.hasJFR \
|
||||
vm.rtm.cpu \
|
||||
vm.rtm.os \
|
||||
vm.rtm.compiler \
|
||||
vm.aot \
|
||||
vm.cds \
|
||||
vm.cds.custom.loaders \
|
||||
|
@ -24,12 +24,12 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 8031320
|
||||
* @summary Verify PrintPreciseRTMLockingStatistics on CPUs with
|
||||
* @summary Verify PrintPreciseRTMLockingStatistics on CPUs and OSs with
|
||||
* rtm support and on VM with rtm locking support,
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -24,12 +24,12 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 8031320
|
||||
* @summary Verify PrintPreciseRTMLockingStatistics on CPUs without
|
||||
* @summary Verify PrintPreciseRTMLockingStatistics on CPUs or OSs without
|
||||
* rtm support and/or unsupported VM.
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires !(vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os)
|
||||
* @requires !vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @build compiler.rtm.cli.TestPrintPreciseRTMLockingStatisticsOptionOnUnsupportedConfig
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
|
@ -28,7 +28,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
*
|
||||
* @requires vm.rtm.compiler
|
||||
* @run main/othervm compiler.rtm.cli.TestRTMAbortThresholdOption
|
||||
*/
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
*
|
||||
* @requires vm.rtm.compiler
|
||||
* @run main/othervm compiler.rtm.cli.TestRTMLockingCalculationDelayOption
|
||||
*/
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
*
|
||||
* @requires vm.rtm.compiler
|
||||
* @run main/othervm compiler.rtm.cli.TestRTMLockingThresholdOption
|
||||
*/
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
*
|
||||
* @requires vm.rtm.compiler
|
||||
* @run main/othervm compiler.rtm.cli.TestRTMRetryCountOption
|
||||
*/
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
*
|
||||
* @requires vm.rtm.compiler
|
||||
* @run main/othervm compiler.rtm.cli.TestRTMSpinLoopCountOption
|
||||
*/
|
||||
|
||||
|
@ -24,12 +24,12 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 8031320
|
||||
* @summary Verify RTMTotalCountIncrRate option processing on CPU with
|
||||
* @summary Verify RTMTotalCountIncrRate option processing on CPU and OS with
|
||||
* rtm support and on VM with rtm locking support.
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -29,7 +29,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -24,12 +24,12 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 8031320
|
||||
* @summary Verify UseRTMDeopt option processing on CPUs without rtm support
|
||||
* @summary Verify UseRTMDeopt option processing on CPUs or OSs without rtm support
|
||||
* or on VMs without rtm locking support.
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires !(vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os)
|
||||
* @requires !vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -24,12 +24,12 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 8031320
|
||||
* @summary Verify UseRTMForStackLocks option processing on CPU with
|
||||
* @summary Verify UseRTMForStackLocks option processing on CPU and OS with
|
||||
* rtm support when VM supports rtm locking.
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -24,12 +24,12 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 8031320
|
||||
* @summary Verify UseRTMForStackLocks option processing on CPUs without
|
||||
* @summary Verify UseRTMForStackLocks option processing on CPUs or OSs without
|
||||
* rtm support and/or on VMs without rtm locking support.
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires !(vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os)
|
||||
* @requires !vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -24,12 +24,12 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 8031320
|
||||
* @summary Verify UseRTMLocking option processing on CPU with rtm support and
|
||||
* on VM with rtm-locking support.
|
||||
* @summary Verify UseRTMLocking option processing on CPU and OS with rtm support and
|
||||
* on VM with rtm locking support.
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -24,12 +24,12 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 8031320
|
||||
* @summary Verify UseRTMLocking option processing on CPU without
|
||||
* @summary Verify UseRTMLocking option processing on CPUs without
|
||||
* rtm support.
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires (!vm.rtm.cpu) & (vm.flavor == "server" & !vm.emulatedClient)
|
||||
* @requires !vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -25,11 +25,11 @@
|
||||
* @test
|
||||
* @bug 8031320
|
||||
* @summary Verify processing of UseRTMLocking and UseBiasedLocking
|
||||
* options combination on CPU and VM with rtm support.
|
||||
* options combination on CPU, OS, and VM with rtm support.
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -28,7 +28,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
*
|
||||
* @requires vm.rtm.compiler
|
||||
* @run main/othervm compiler.rtm.cli.TestUseRTMXendForLockBusyOption
|
||||
*/
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -29,7 +29,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -31,7 +31,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -29,7 +29,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -28,7 +28,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -29,7 +29,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -29,7 +29,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -28,7 +28,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -29,7 +29,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -29,7 +29,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -29,7 +29,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -25,11 +25,11 @@
|
||||
* @test
|
||||
* @bug 8031320
|
||||
* @summary Verify that UseRTMDeopt affects uncommon trap installation in
|
||||
* copmpiled methods with synchronized block.
|
||||
* compiled methods with synchronized block.
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -28,7 +28,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -28,7 +28,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -29,7 +29,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -29,7 +29,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -30,7 +30,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -31,7 +31,7 @@
|
||||
* @library /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
|
||||
* @requires vm.rtm.cpu & vm.rtm.compiler
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
|
@ -84,7 +84,7 @@ public class VMProps implements Callable<Map<String, String>> {
|
||||
map.put("vm.hasJFR", vmHasJFR());
|
||||
map.put("vm.cpu.features", cpuFeatures());
|
||||
map.put("vm.rtm.cpu", vmRTMCPU());
|
||||
map.put("vm.rtm.os", vmRTMOS());
|
||||
map.put("vm.rtm.compiler", vmRTMCompiler());
|
||||
map.put("vm.aot", vmAOT());
|
||||
// vm.cds is true if the VM is compiled with cds support.
|
||||
map.put("vm.cds", vmCDS());
|
||||
@ -131,8 +131,6 @@ public class VMProps implements Callable<Map<String, String>> {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @return VM type value extracted from the "java.vm.name" property.
|
||||
*/
|
||||
@ -301,24 +299,16 @@ public class VMProps implements Callable<Map<String, String>> {
|
||||
}
|
||||
|
||||
/**
|
||||
* @return true if VM runs RTM supported OS and false otherwise.
|
||||
* @return true if compiler in use supports RTM and false otherwise.
|
||||
*/
|
||||
protected String vmRTMOS() {
|
||||
boolean isRTMOS = true;
|
||||
protected String vmRTMCompiler() {
|
||||
boolean isRTMCompiler = false;
|
||||
|
||||
if (Platform.isAix()) {
|
||||
// Actually, this works since AIX 7.1.3.30, but os.version property
|
||||
// is set to 7.1.
|
||||
isRTMOS = (Platform.getOsVersionMajor() > 7) ||
|
||||
(Platform.getOsVersionMajor() == 7 && Platform.getOsVersionMinor() > 1);
|
||||
|
||||
} else if (Platform.isLinux()) {
|
||||
if (Platform.isPPC()) {
|
||||
isRTMOS = (Platform.getOsVersionMajor() > 4) ||
|
||||
(Platform.getOsVersionMajor() == 4 && Platform.getOsVersionMinor() > 1);
|
||||
}
|
||||
if (Compiler.isC2Enabled() &&
|
||||
(Platform.isX86() || Platform.isX64() || Platform.isPPC())) {
|
||||
isRTMCompiler = true;
|
||||
}
|
||||
return "" + isRTMOS;
|
||||
return "" + isRTMCompiler;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user