mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8028587: New tests development for intrisics for basic operators - add, neg, inc, dec, sub, mul
Reviewed-by: twisti
This commit is contained in:
parent
cfefd04320
commit
b6d0b72ec0
26 changed files with 1035 additions and 97 deletions
|
@ -27,19 +27,17 @@
|
|||
* @library /testlibrary /testlibrary/whitebox
|
||||
* @build EnqueueMethodForCompilationTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* @run main/othervm/timeout=600 -Xbootclasspath/a:. -Xmixed -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:CompileCommand=compileonly,TestCase$Helper::* EnqueueMethodForCompilationTest
|
||||
* @run main/othervm/timeout=600 -Xbootclasspath/a:. -Xmixed -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:CompileCommand=compileonly,SimpleTestCase$Helper::* EnqueueMethodForCompilationTest
|
||||
* @summary testing of WB::enqueueMethodForCompilation()
|
||||
* @author igor.ignatyev@oracle.com
|
||||
*/
|
||||
public class EnqueueMethodForCompilationTest extends CompilerWhiteBoxTest {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
for (TestCase test : TestCase.values()) {
|
||||
new EnqueueMethodForCompilationTest(test).runTest();
|
||||
}
|
||||
CompilerWhiteBoxTest.main(EnqueueMethodForCompilationTest::new, args);
|
||||
}
|
||||
|
||||
public EnqueueMethodForCompilationTest(TestCase testCase) {
|
||||
private EnqueueMethodForCompilationTest(TestCase testCase) {
|
||||
super(testCase);
|
||||
// to prevent inlining of #method
|
||||
WHITE_BOX.testSetDontInlineMethod(method, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue