Searched refs:arrayIndexScale (Results 1 – 7 of 7) sorted by relevance
58 private static final long BOOLEAN_ARRAY_INDEX_SCALE = arrayIndexScale(boolean[].class);61 private static final long INT_ARRAY_INDEX_SCALE = arrayIndexScale(int[].class);64 private static final long LONG_ARRAY_INDEX_SCALE = arrayIndexScale(long[].class);67 private static final long FLOAT_ARRAY_INDEX_SCALE = arrayIndexScale(float[].class);70 private static final long DOUBLE_ARRAY_INDEX_SCALE = arrayIndexScale(double[].class);73 private static final long OBJECT_ARRAY_INDEX_SCALE = arrayIndexScale(Object[].class);115 private static int arrayIndexScale(Class<?> clazz) { in arrayIndexScale() method in UnsafeUtil116 return HAS_UNSAFE_ARRAY_OPERATIONS ? MEMORY_ACCESSOR.arrayIndexScale(clazz) : -1; in arrayIndexScale()495 public final int arrayIndexScale(Class<?> clazz) { in arrayIndexScale() method in UnsafeUtil.MemoryAccessor496 return unsafe.arrayIndexScale(clazz); in arrayIndexScale()
38 public int arrayIndexScale(Class arrayClass) { /* null implementation */ return 0; } in arrayIndexScale() method in Unsafe
200 if (theUnsafe.arrayIndexScale(byte[].class) != 1) {
328 && theUnsafe.arrayIndexScale(byte[].class) == 1)) {