< prev index next >
test/compiler/profiling/UnsafeAccess.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 22,35 ****
*/
/*
* @test
* @bug 8134918
* @modules java.base/jdk.internal.misc
* @run main/bootclasspath/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:TypeProfileLevel=222 -XX:+UseTypeSpeculation -Xbatch
! * -XX:CompileCommand=dontinline,UnsafeAccess::test*
! * UnsafeAccess
*/
import jdk.internal.misc.Unsafe;
public class UnsafeAccess {
private static final Unsafe U = Unsafe.getUnsafe();
--- 22,39 ----
*/
/*
* @test
* @bug 8134918
* @modules java.base/jdk.internal.misc
+ *
* @run main/bootclasspath/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:TypeProfileLevel=222 -XX:+UseTypeSpeculation -Xbatch
! * -XX:CompileCommand=dontinline,compiler.profiling.UnsafeAccess::test*
! * compiler.profiling.UnsafeAccess
*/
+
+ package compiler.profiling;
+
import jdk.internal.misc.Unsafe;
public class UnsafeAccess {
private static final Unsafe U = Unsafe.getUnsafe();
< prev index next >