< prev index next >
test/compiler/unsafe/JdkInternalMiscUnsafeUnalignedAccess.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
@@ -24,17 +24,22 @@
/*
* @test
* @bug 8158260
* @summary Test unaligned Unsafe accesses
* @modules java.base/jdk.internal.misc
- * @run main/othervm -Diters=20000 -XX:-UseOnStackReplacement -XX:-BackgroundCompilation JdkInternalMiscUnsafeUnalignedAccess
+ *
+ * @run main/othervm -Diters=20000 -XX:-UseOnStackReplacement -XX:-BackgroundCompilation
+ * compiler.unsafe.JdkInternalMiscUnsafeUnalignedAccess
* @author volker.simonis@gmail.com
*/
+package compiler.unsafe;
+
+import jdk.internal.misc.Unsafe;
+
import java.lang.reflect.Field;
import java.nio.ByteOrder;
-import jdk.internal.misc.Unsafe;
public class JdkInternalMiscUnsafeUnalignedAccess {
static final int ITERS = Integer.getInteger("iters", 20_000);
private static final boolean BIG_ENDIAN = ByteOrder.nativeOrder().equals(ByteOrder.BIG_ENDIAN);
private static final Unsafe UNSAFE;
< prev index next >