< prev index next >
test/compiler/uncommontrap/Test8009761.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 19,42 ****
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
- import sun.hotspot.WhiteBox;
- import java.lang.reflect.Method;
-
/*
* @test
* @bug 8009761
- * @modules java.base/jdk.internal.misc
- * @library /testlibrary /test/lib
* @summary Deoptimization on sparc doesn't set Llast_SP correctly in the interpreter frames it creates
! * @build Test8009761
! * @run main ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
! * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:CompileCommand=exclude,Test8009761::m2 -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -Xss512K Test8009761
*/
public class Test8009761 {
private static final WhiteBox WHITE_BOX = WhiteBox.getWhiteBox();
private static int COMP_LEVEL_SIMPLE = 1;
private static int COMP_LEVEL_FULL_OPTIMIZATION = 4;
--- 19,50 ----
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 8009761
* @summary Deoptimization on sparc doesn't set Llast_SP correctly in the interpreter frames it creates
! * @library /testlibrary /test/lib /
! * @modules java.base/jdk.internal.misc
! *
! * @build compiler.uncommontrap.Test8009761
! * @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
! * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
! * -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -Xss512K
! * -XX:CompileCommand=exclude,compiler.uncommontrap.Test8009761::m2
! * compiler.uncommontrap.Test8009761
*/
+
+ package compiler.uncommontrap;
+
+ import sun.hotspot.WhiteBox;
+
+ import java.lang.reflect.Method;
+
public class Test8009761 {
private static final WhiteBox WHITE_BOX = WhiteBox.getWhiteBox();
private static int COMP_LEVEL_SIMPLE = 1;
private static int COMP_LEVEL_FULL_OPTIMIZATION = 4;
< prev index next >