public final class UnsafeHolder extends Object
Modifier and Type | Field and Description |
---|---|
static long |
ARRAY_OBJECT_BASE_OFFSET |
static long |
ARRAY_OBJECT_INDEX_SCALE |
static boolean |
SUPPORTS_FENCES |
static sun.misc.Unsafe |
U
Holds a reference to Unsafe if available, null otherwise.
|
Modifier and Type | Method and Description |
---|---|
static long |
fieldOffset(Class clazz,
String name) |
static void |
fullFence() |
static void |
loadFence() |
static void |
storeFence() |
public static final sun.misc.Unsafe U
public static final boolean SUPPORTS_FENCES
public static final long ARRAY_OBJECT_BASE_OFFSET
public static final long ARRAY_OBJECT_INDEX_SCALE
Copyright © 2001-2015 JRuby. All Rights Reserved.