org.jikesrvm.jni
Class JNIGlobalRefTable
java.lang.Object
org.jikesrvm.jni.JNIGlobalRefTable
public class JNIGlobalRefTable
- extends Object
Weak Global References are global references (negative numbers), with the
2^30 bit UNset. Mask in the 2^30 bit to get the real index into the table.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JNIGlobalRefs
public static AddressArray JNIGlobalRefs
free
private static int free
STRONG_REF_BIT
public static final int STRONG_REF_BIT
- See Also:
- Constant Field Values
JNIGlobalRefTable
public JNIGlobalRefTable()
newGlobalRef
static int newGlobalRef(Object referent)
copyAndReplaceGlobalRefs
private static void copyAndReplaceGlobalRefs(AddressArray newGlobalRefs)
newWeakRef
static int newWeakRef(Object referent)
deleteGlobalRef
static void deleteGlobalRef(int index)
deleteWeakRef
static void deleteWeakRef(int index)
globalRef
static Object globalRef(int index)
weakRef
static Object weakRef(int index)
ref
static Object ref(int index)
isWeakRef
static boolean isWeakRef(int index)