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_NON_ENTRANT
Indicates that the code can no longer be newly invoked, so that if there are no activations
remaining, this
CodeInfo object can be freed. |
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
This state is only possible when the VM is at a safepoint.
|
static int |
STATE_UNREACHABLE
This state is only possible when the VM is at a safepoint and indicates that a partially
freed
CodeInfo object is no longer reachable from the GC point of view. |
static final int STATE_CREATED
static final int STATE_CODE_CONSTANTS_LIVE
static final int STATE_NON_ENTRANT
CodeInfo object can be freed.static final int STATE_READY_FOR_INVALIDATION
CodeInfo object during the current safepoint.static final int STATE_PARTIALLY_FREED
CodeInfo object was invalidated and parts of its data were freed.static final int STATE_UNREACHABLE
CodeInfo object is no longer reachable from the GC point of view. The GC will
free the remaining data during the current safepoint.