mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 08:34:30 +02:00
8006753: fix failed for JDK-8002415 White box testing API for HotSpot
Modify WhiteBoxAPI to use interface classes from test/testlibrary instead, add ClassFileInstaller to resolve the boot class path issue Reviewed-by: ctornqvi, dsamersoff, coleenp, kvn
This commit is contained in:
parent
99fa0d1e99
commit
1d468be4b1
30 changed files with 212 additions and 307 deletions
|
@ -23,9 +23,10 @@
|
|||
|
||||
/*
|
||||
* @test DeoptimizeAllTest
|
||||
* @compile -J-XX:+UnlockDiagnosticVMOptions -J-XX:+WhiteBoxAPI CompilerWhiteBoxTest.java
|
||||
* @compile -J-XX:+UnlockDiagnosticVMOptions -J-XX:+WhiteBoxAPI DeoptimizeAllTest.java
|
||||
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI DeoptimizeAllTest
|
||||
* @library /testlibrary /testlibrary/whitebox
|
||||
* @build DeoptimizeAllTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI DeoptimizeAllTest
|
||||
* @author igor.ignatyev@oracle.com
|
||||
*/
|
||||
public class DeoptimizeAllTest extends CompilerWhiteBoxTest {
|
||||
|
|
|
@ -23,9 +23,10 @@
|
|||
|
||||
/*
|
||||
* @test DeoptimizeMethodTest
|
||||
* @compile -J-XX:+UnlockDiagnosticVMOptions -J-XX:+WhiteBoxAPI CompilerWhiteBoxTest.java
|
||||
* @compile -J-XX:+UnlockDiagnosticVMOptions -J-XX:+WhiteBoxAPI DeoptimizeMethodTest.java
|
||||
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI DeoptimizeMethodTest
|
||||
* @library /testlibrary /testlibrary/whitebox
|
||||
* @build DeoptimizeMethodTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI DeoptimizeMethodTest
|
||||
* @author igor.ignatyev@oracle.com
|
||||
*/
|
||||
public class DeoptimizeMethodTest extends CompilerWhiteBoxTest {
|
||||
|
|
|
@ -24,9 +24,10 @@
|
|||
/*
|
||||
* @test IsMethodCompilableTest
|
||||
* @bug 8007270
|
||||
* @compile -J-XX:+UnlockDiagnosticVMOptions -J-XX:+WhiteBoxAPI CompilerWhiteBoxTest.java
|
||||
* @compile -J-XX:+UnlockDiagnosticVMOptions -J-XX:+WhiteBoxAPI IsMethodCompilableTest.java
|
||||
* @run main/othervm/timeout=600 -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI IsMethodCompilableTest
|
||||
* @library /testlibrary /testlibrary/whitebox
|
||||
* @build IsMethodCompilableTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* @run main/othervm/timeout=600 -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI IsMethodCompilableTest
|
||||
* @author igor.ignatyev@oracle.com
|
||||
*/
|
||||
public class IsMethodCompilableTest extends CompilerWhiteBoxTest {
|
||||
|
|
|
@ -23,9 +23,10 @@
|
|||
|
||||
/*
|
||||
* @test MakeMethodNotCompilableTest
|
||||
* @compile -J-XX:+UnlockDiagnosticVMOptions -J-XX:+WhiteBoxAPI CompilerWhiteBoxTest.java
|
||||
* @compile -J-XX:+UnlockDiagnosticVMOptions -J-XX:+WhiteBoxAPI MakeMethodNotCompilableTest.java
|
||||
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI MakeMethodNotCompilableTest
|
||||
* @library /testlibrary /testlibrary/whitebox
|
||||
* @build MakeMethodNotCompilableTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI MakeMethodNotCompilableTest
|
||||
* @author igor.ignatyev@oracle.com
|
||||
*/
|
||||
public class MakeMethodNotCompilableTest extends CompilerWhiteBoxTest {
|
||||
|
|
|
@ -23,9 +23,10 @@
|
|||
|
||||
/*
|
||||
* @test SetDontInlineMethodTest
|
||||
* @compile -J-XX:+UnlockDiagnosticVMOptions -J-XX:+WhiteBoxAPI CompilerWhiteBoxTest.java
|
||||
* @compile -J-XX:+UnlockDiagnosticVMOptions -J-XX:+WhiteBoxAPI SetDontInlineMethodTest.java
|
||||
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI SetDontInlineMethodTest
|
||||
* @library /testlibrary /testlibrary/whitebox
|
||||
* @build SetDontInlineMethodTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI SetDontInlineMethodTest
|
||||
* @author igor.ignatyev@oracle.com
|
||||
*/
|
||||
public class SetDontInlineMethodTest extends CompilerWhiteBoxTest {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue