public final class UnsafeHolder
extends java.lang.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(java.lang.Class clazz,
java.lang.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 © 2002-2009 JRuby Team. All Rights Reserved.