Clients of LocationIdentity must use equals(Object), not ==, when
comparing two LocationIdentity values for equality. Likewise, they must not use
java.s with LocationIdentity values as keys.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final LocationIdentity | ANY_LOCATION
Indicates that the given location is the union of all possible mutable locations. |
| public static final LocationIdentity | INIT_LOCATION
Location only allowed to be used for writes. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static LocationIdentity | |
| public static LocationIdentity | |
| public final boolean | |
| public abstract boolean | |
| public final boolean | |
| public final boolean | |
| public final boolean | |
| public final boolean | overlaps(LocationIdentity other)
Returns true if the memory slice denoted by this location identity may overlap with the provided other location identity. |
| ANY_LOCATION | back to summary |
|---|---|
| public static final LocationIdentity ANY_LOCATION Indicates that the given location is the union of all possible mutable locations. A write to such a location kill all reads from mutable locations and a read from this location is killed by any write (except for initialization writes).
| |
| INIT_LOCATION | back to summary |
|---|---|
| public static final LocationIdentity INIT_LOCATION Location only allowed to be used for writes. Indicates that a completely new memory location is written. Kills no read. The previous value at the given location must be either uninitialized or null. Writes to this location do not need a GC pre-barrier.
| |
| LocationIdentity | back to summary |
|---|---|
| protected LocationIdentity() Creates a new location identity. Subclasses are responsible to provide proper implementations
of
| |
| any | back to summary |
|---|---|
| public static LocationIdentity any() Indicates that the given location is the union of all possible mutable locations. A write to such a location kill all reads from mutable locations and a read from this location is killed by any write (except for initialization writes).
| |
| init | back to summary |
|---|---|
| public static LocationIdentity init() Location only allowed to be used for writes. Indicates that a completely new memory location is written. Kills no read. The previous value at the given location must be either uninitialized or null. Writes to this location do not need a GC pre-barrier.
| |
| isAny | back to summary |
|---|---|
| public final boolean isAny() Returns true if this location identity is
| |
| isImmutable | back to summary |
|---|---|
| public abstract boolean isImmutable() Denotes a location is unchanging in all cases. Not that this is different than the Java notion of final which only requires definite assignment.
| |
| isInit | back to summary |
|---|---|
| public final boolean isInit() Returns true if this location identity is
| |
| isMutable | back to summary |
|---|---|
| public final boolean isMutable() The inversion of
| |
| isSingle | back to summary |
|---|---|
| public final boolean isSingle() Returns true if this location identity is not
| |
| overlaps | back to summary |
|---|---|
| public final boolean overlaps(LocationIdentity other) Returns true if the memory slice denoted by this location identity may overlap with the provided other location identity.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isImmutable()
Implements abstract org. Denotes a location is unchanging in all cases. |
| public String |
| AnyLocationIdentity | back to summary |
|---|---|
| private AnyLocationIdentity() | |
| isImmutable | back to summary |
|---|---|
| public boolean isImmutable() Implements abstract org. Doc from org. Denotes a location is unchanging in all cases. Not that this is different than the Java notion of final which only requires definite assignment.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isImmutable()
Implements abstract org. Denotes a location is unchanging in all cases. |
| public String |
| InitLocationIdentity | back to summary |
|---|---|
| private InitLocationIdentity() | |
| isImmutable | back to summary |
|---|---|
| public boolean isImmutable() Implements abstract org. Doc from org. Denotes a location is unchanging in all cases. Not that this is different than the Java notion of final which only requires definite assignment.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |