Searched refs:arrayIndexScale (Results 1 – 6 of 6) sorted by relevance
56 private static final long BOOLEAN_ARRAY_INDEX_SCALE = arrayIndexScale(boolean[].class);59 private static final long INT_ARRAY_INDEX_SCALE = arrayIndexScale(int[].class);62 private static final long LONG_ARRAY_INDEX_SCALE = arrayIndexScale(long[].class);65 private static final long FLOAT_ARRAY_INDEX_SCALE = arrayIndexScale(float[].class);68 private static final long DOUBLE_ARRAY_INDEX_SCALE = arrayIndexScale(double[].class);71 private static final long OBJECT_ARRAY_INDEX_SCALE = arrayIndexScale(Object[].class);110 private static int arrayIndexScale(Class<?> clazz) { in arrayIndexScale() method in UnsafeUtil111 return HAS_UNSAFE_ARRAY_OPERATIONS ? MEMORY_ACCESSOR.arrayIndexScale(clazz) : -1; in arrayIndexScale()544 public final int arrayIndexScale(Class<?> clazz) { in arrayIndexScale() method in UnsafeUtil.MemoryAccessor545 return unsafe.arrayIndexScale(clazz); in arrayIndexScale()
38 public int arrayIndexScale(Class arrayClass) { /* null implementation */ return 0; } in arrayIndexScale() method in Unsafe
199 if (theUnsafe.arrayIndexScale(byte[].class) != 1) {
326 && theUnsafe.arrayIndexScale(byte[].class) == 1)) {