< prev index next >
test/compiler/loopopts/superword/TestVectorizationWithInvariant.java
Print this page
@@ -32,20 +32,19 @@
*/
package compiler.loopopts.superword;
import jdk.internal.misc.Unsafe;
-import jdk.test.lib.unsafe.UnsafeHelper;
public class TestVectorizationWithInvariant {
private static Unsafe unsafe;
private static final long BYTE_ARRAY_OFFSET;
private static final long CHAR_ARRAY_OFFSET;
static {
- unsafe = UnsafeHelper.getUnsafe();
+ unsafe = Unsafe.getUnsafe();
BYTE_ARRAY_OFFSET = unsafe.arrayBaseOffset(byte[].class);
CHAR_ARRAY_OFFSET = unsafe.arrayBaseOffset(char[].class);
}
public static void main(String[] args) throws Exception {
< prev index next >