8275086: compiler/c2/irTests/TestPostParseCallDevirtualization.java fails when compiler1 is disabled
Reviewed-by: iveresov
This commit is contained in:
parent
2b02b6f513
commit
87b926ebb7
@ -169,8 +169,9 @@ public class TestPostParseCallDevirtualization {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Run(test = "testMethodHandleCallWithLoop")
|
@Run(test = "testMethodHandleCallWithLoop")
|
||||||
|
@Warmup(5000)
|
||||||
public void checkTestMethodHandleCallWithLoop() throws Throwable {
|
public void checkTestMethodHandleCallWithLoop() throws Throwable {
|
||||||
Asserts.assertEquals(testMethodHandleCallWithLoop(), 42);
|
Asserts.assertEquals( (int)mh2.invokeExact(), 42);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@ -194,7 +195,8 @@ public class TestPostParseCallDevirtualization {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Run(test = "testMethodHandleCallWithCCP")
|
@Run(test = "testMethodHandleCallWithCCP")
|
||||||
|
@Warmup(5000)
|
||||||
public void checkTestMethodHandleCallWithCCP() throws Throwable {
|
public void checkTestMethodHandleCallWithCCP() throws Throwable {
|
||||||
Asserts.assertEquals(testMethodHandleCallWithCCP(), 42);
|
Asserts.assertEquals( (int)mh2.invokeExact(), 42);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user