< prev index next >
test/compiler/escapeAnalysis/TestUnsafePutAddressNullObjMustNotEscape.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 24,40 ****
/**
* @test
* @bug 8038048
* @summary assert(null_obj->escape_state() == PointsToNode::NoEscape,etc)
* @modules java.base/jdk.internal.misc
! * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+DoEscapeAnalysis -XX:-TieredCompilation -Xbatch TestUnsafePutAddressNullObjMustNotEscape
* @author Richard Reingruber richard DOT reingruber AT sap DOT com
*/
! import java.lang.reflect.Field;
import jdk.internal.misc.Unsafe;
public class TestUnsafePutAddressNullObjMustNotEscape {
public static Unsafe usafe;
public static long mem;
public static long checksum;
--- 24,47 ----
/**
* @test
* @bug 8038048
* @summary assert(null_obj->escape_state() == PointsToNode::NoEscape,etc)
* @modules java.base/jdk.internal.misc
! *
! * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+DoEscapeAnalysis
! * -XX:-TieredCompilation -Xbatch
! * compiler.escapeAnalysis.TestUnsafePutAddressNullObjMustNotEscape
! *
* @author Richard Reingruber richard DOT reingruber AT sap DOT com
*/
! package compiler.escapeAnalysis;
!
import jdk.internal.misc.Unsafe;
+ import java.lang.reflect.Field;
+
public class TestUnsafePutAddressNullObjMustNotEscape {
public static Unsafe usafe;
public static long mem;
public static long checksum;
< prev index next >