public class JNIGlobalRefTable extends Object
Modifier and Type | Field and Description |
---|---|
private static int |
free |
static AddressArray |
JNIGlobalRefs |
static int |
STRONG_REF_BIT |
Constructor and Description |
---|
JNIGlobalRefTable() |
Modifier and Type | Method and Description |
---|---|
private static void |
copyAndReplaceGlobalRefs(AddressArray newGlobalRefs) |
(package private) static void |
deleteGlobalRef(int index) |
(package private) static void |
deleteWeakRef(int index) |
(package private) static Object |
globalRef(int index) |
(package private) static boolean |
isWeakRef(int index) |
(package private) static int |
newGlobalRef(Object referent) |
(package private) static int |
newWeakRef(Object referent) |
(package private) static Object |
ref(int index) |
(package private) static Object |
weakRef(int index) |
public static AddressArray JNIGlobalRefs
private static int free
public static final int STRONG_REF_BIT
public JNIGlobalRefTable()
static int newGlobalRef(Object referent)
private static void copyAndReplaceGlobalRefs(AddressArray newGlobalRefs)
static int newWeakRef(Object referent)
static void deleteGlobalRef(int index)
static void deleteWeakRef(int index)
static boolean isWeakRef(int index)