public interface JavaReference
Modifier and Type | Field and Description |
---|---|
static int |
HEAP_ROOT_CLASSLOADER
Classloader heap root
|
static int |
HEAP_ROOT_FINALIZABLE_OBJ
Finalizable object heap root
|
static int |
HEAP_ROOT_JNI_GLOBAL
JNI global reference heap root
|
static int |
HEAP_ROOT_JNI_LOCAL
JNI local reference heap root
|
static int |
HEAP_ROOT_MONITOR
Monitor heap root
|
static int |
HEAP_ROOT_OTHER
Other heap root type
|
static int |
HEAP_ROOT_STACK_LOCAL
Stack local heap root
|
static int |
HEAP_ROOT_STRINGTABLE
Stringtable heap root
|
static int |
HEAP_ROOT_SYSTEM_CLASS
System class heap root
|
static int |
HEAP_ROOT_THREAD
Thread heap root
|
static int |
HEAP_ROOT_UNFINALIZED_OBJ
Unfinalized object heap root
|
static int |
HEAP_ROOT_UNKNOWN
Unknown heap root type
|
static int |
REACHABILITY_PHANTOM
Reachability of target object via this reference is Phantom
|
static int |
REACHABILITY_SOFT
Reachability of target object via this reference is Soft
|
static int |
REACHABILITY_STRONG
Reachability of target object via this reference is Strong
|
static int |
REACHABILITY_UNKNOWN
Reachability of target object via this reference is unknown
|
static int |
REACHABILITY_WEAK
Reachability of target object via this reference is Weak
|
static int |
REFERENCE_ARRAY_ELEMENT
Reference from an array to one of its elements
|
static int |
REFERENCE_ASSOCIATED_CLASS
Reference from a JavaObject representing a Class to the associated JavaClass
|
static int |
REFERENCE_CLASS
Reference from an object to its class
|
static int |
REFERENCE_CLASS_LOADER
Reference from a class to its class loader
|
static int |
REFERENCE_CLASS_OBJECT
Reference from a class to its java.lang.Class instance
|
static int |
REFERENCE_CONSTANT_POOL
Reference from a class to a resolved entry in the constant pool
|
static int |
REFERENCE_FIELD
Reference from an object to the value of one of its instance fields
|
static int |
REFERENCE_INTERFACE
Reference from a class to one of its interfaces
|
static int |
REFERENCE_LOADED_CLASS
Reference from a classloader object to its loaded classes
|
static int |
REFERENCE_PROTECTION_DOMAIN
Reference from a class to its protection domain
|
static int |
REFERENCE_SIGNERS
Reference from a class to its signers array
|
static int |
REFERENCE_STATIC_FIELD
Reference from a class to the value of one of its static fields
|
static int |
REFERENCE_SUPERCLASS
Reference from a class to its superclass
|
static int |
REFERENCE_UNKNOWN
Unknown reference type
|
static int |
REFERENCE_UNUSED_14 |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get a string describing the reference type.
|
int |
getReachability()
Get the reachability of the target object via this specific reference.
|
int |
getReferenceType()
Get the reference type, as defined in the JVMTI specification.
|
int |
getRootType()
Get the root type, as defined in the JVMTI specification.
|
Object |
getSource()
Get the source of this reference if available.
|
Object |
getTarget()
Get the object referred to by this reference.
|
boolean |
isClassReference()
Does this reference point to a class?
|
boolean |
isObjectReference()
Does this reference point to an object in the heap?
|
static final int HEAP_ROOT_UNKNOWN
static final int HEAP_ROOT_JNI_GLOBAL
static final int HEAP_ROOT_SYSTEM_CLASS
static final int HEAP_ROOT_MONITOR
static final int HEAP_ROOT_STACK_LOCAL
static final int HEAP_ROOT_JNI_LOCAL
static final int HEAP_ROOT_THREAD
static final int HEAP_ROOT_OTHER
static final int HEAP_ROOT_FINALIZABLE_OBJ
static final int HEAP_ROOT_UNFINALIZED_OBJ
static final int HEAP_ROOT_CLASSLOADER
static final int HEAP_ROOT_STRINGTABLE
static final int REFERENCE_UNKNOWN
static final int REFERENCE_CLASS
static final int REFERENCE_FIELD
static final int REFERENCE_ARRAY_ELEMENT
static final int REFERENCE_CLASS_LOADER
static final int REFERENCE_SIGNERS
static final int REFERENCE_PROTECTION_DOMAIN
static final int REFERENCE_INTERFACE
static final int REFERENCE_STATIC_FIELD
static final int REFERENCE_CONSTANT_POOL
static final int REFERENCE_SUPERCLASS
static final int REFERENCE_LOADED_CLASS
static final int REFERENCE_CLASS_OBJECT
static final int REFERENCE_ASSOCIATED_CLASS
static final int REFERENCE_UNUSED_14
static final int REACHABILITY_UNKNOWN
static final int REACHABILITY_STRONG
static final int REACHABILITY_SOFT
static final int REACHABILITY_WEAK
static final int REACHABILITY_PHANTOM
int getRootType() throws CorruptDataException
CorruptDataException
int getReferenceType() throws CorruptDataException
CorruptDataException
int getReachability() throws CorruptDataException
CorruptDataException
String getDescription()
JNI Weak global reference,
Instance field 'MyClass.value',
Constant pool string constant
boolean isObjectReference() throws DataUnavailable, CorruptDataException
DataUnavailable
CorruptDataException
boolean isClassReference() throws DataUnavailable, CorruptDataException
DataUnavailable
CorruptDataException
Object getTarget() throws DataUnavailable, CorruptDataException
DataUnavailable
CorruptDataException
Object getSource() throws DataUnavailable, CorruptDataException
DataUnavailable
CorruptDataException
Eclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 2004, 2025 IBM Corp. and others.