< prev index next >
test/compiler/unsafe/UnsafeGetStableArrayElement.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 37,55 ****
* -Xbatch -XX:-TieredCompilation
* -XX:+FoldStableValues
* -XX:CompileCommand=dontinline,*Test::test*
* compiler.unsafe.UnsafeGetStableArrayElement
*/
package compiler.unsafe;
import jdk.internal.misc.Unsafe;
import jdk.internal.vm.annotation.Stable;
- import java.util.concurrent.Callable;
import jdk.test.lib.Platform;
import static jdk.internal.misc.Unsafe.*;
! import static jdk.test.lib.Asserts.*;
public class UnsafeGetStableArrayElement {
@Stable static final boolean[] STABLE_BOOLEAN_ARRAY = new boolean[16];
@Stable static final byte[] STABLE_BYTE_ARRAY = new byte[16];
@Stable static final short[] STABLE_SHORT_ARRAY = new short[8];
--- 37,58 ----
* -Xbatch -XX:-TieredCompilation
* -XX:+FoldStableValues
* -XX:CompileCommand=dontinline,*Test::test*
* compiler.unsafe.UnsafeGetStableArrayElement
*/
+
package compiler.unsafe;
import jdk.internal.misc.Unsafe;
import jdk.internal.vm.annotation.Stable;
import jdk.test.lib.Platform;
+ import java.util.concurrent.Callable;
+
import static jdk.internal.misc.Unsafe.*;
! import static jdk.test.lib.Asserts.assertEQ;
! import static jdk.test.lib.Asserts.assertNE;
public class UnsafeGetStableArrayElement {
@Stable static final boolean[] STABLE_BOOLEAN_ARRAY = new boolean[16];
@Stable static final byte[] STABLE_BYTE_ARRAY = new byte[16];
@Stable static final short[] STABLE_SHORT_ARRAY = new short[8];
< prev index next >