< prev index next >
test/compiler/rtm/locking/TestRTMLockingCalculationDelay.java
Print this page
rev 11916 : 8165235: [TESTBUG] RTM tests must check OS version
Summary: Also change enabling RTM on Aix to OS version 7.2.
Reviewed-by: simonis
*** 42,51 ****
--- 42,52 ----
import compiler.testlibrary.rtm.AbortProvoker;
import compiler.testlibrary.rtm.AbortType;
import compiler.testlibrary.rtm.RTMTestBase;
import compiler.testlibrary.rtm.predicate.SupportedCPU;
+ import compiler.testlibrary.rtm.predicate.SupportedOS;
import compiler.testlibrary.rtm.predicate.SupportedVM;
import jdk.test.lib.Asserts;
import jdk.test.lib.process.OutputAnalyzer;
import jdk.test.lib.cli.CommandLineOptionTest;
import jdk.test.lib.cli.predicate.AndPredicate;
*** 56,66 ****
*/
public class TestRTMLockingCalculationDelay extends CommandLineOptionTest {
private static final boolean INFLATE_MONITOR = true;
private TestRTMLockingCalculationDelay() {
! super(new AndPredicate(new SupportedCPU(), new SupportedVM()));
}
@Override
protected void runTestCases() throws Throwable {
// verify that calculation will be started immediately
--- 57,67 ----
*/
public class TestRTMLockingCalculationDelay extends CommandLineOptionTest {
private static final boolean INFLATE_MONITOR = true;
private TestRTMLockingCalculationDelay() {
! super(new AndPredicate(new SupportedCPU(), new SupportedOS(), new SupportedVM()));
}
@Override
protected void runTestCases() throws Throwable {
// verify that calculation will be started immediately
< prev index next >