public interface CodeInfo extends UntetheredCodeInfo
CodeInfo object that can be accessed using the static methods on the class
CodeInfoAccess. As long as the tether object is reachable, it is guaranteed that the GC
won't free the CodeInfo object. For more details, refer to the documentation of
CodeInfoAccess.| Modifier and Type | Field and Description |
|---|---|
static int |
STATE_CODE_CONSTANTS_LIVE
Indicates that the code is fully installed from the GC point of view, i.e., the GC must visit
the heap references that are directly embedded in the machine code.
|
static int |
STATE_CREATED
Initial state.
|
static int |
STATE_PARTIALLY_FREED
Indicates that this
CodeInfo object was invalidated and parts of its data were freed. |
static int |
STATE_READY_FOR_INVALIDATION
Indicates that the GC will invalidate and free this
CodeInfo object as part of the
current garbage collection. |
static final int STATE_CREATED
static final int STATE_CODE_CONSTANTS_LIVE
static final int STATE_READY_FOR_INVALIDATION
CodeInfo object as part of the
current garbage collection.static final int STATE_PARTIALLY_FREED
CodeInfo object was invalidated and parts of its data were freed.