| Modifier and Type | Field and Description |
|---|---|
| private final String | debugName
Record Component accessed by debugName(). the debug name, mostly derived from type |
| private final int | indexOrOffset
Record Component accessed by indexOrOffset(). the index is either a register number within a type, or a stack offset in bytes if type = stack. |
| private final short | segmentMaskOrSize
Record Component accessed by segmentMaskOrSize(). the (on stack) size in bytes when type = stack, a register mask otherwise, the register mask indicates which segments of a register are used. |
| private final byte |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public boolean | equals(Object obj)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public int | |
| public int | indexOrOffset()
Record Component getter of indexOrOffset.
Record Component the index is either a register number within a type, or a stack offset in bytes if type = stack. |
| public short | segmentMaskOrSize()
Record Component getter of segmentMaskOrSize.
Record Component the (on stack) size in bytes when type = stack, a register mask otherwise, the register mask indicates which segments of a register are used. |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| public byte |
| debugName | back to summary |
|---|---|
| private final String debugName Record Component accessed by debugName(). the debug name, mostly derived from type | |
| indexOrOffset | back to summary |
|---|---|
| private final int indexOrOffset Record Component accessed by indexOrOffset(). the index is either a register number within a type, or a stack offset in bytes if type = stack. (a particular platform might add a bias to this in generate code) | |
| segmentMaskOrSize | back to summary |
|---|---|
| private final short segmentMaskOrSize Record Component accessed by segmentMaskOrSize(). the (on stack) size in bytes when type = stack, a register mask otherwise, the register mask indicates which segments of a register are used. | |
| type | back to summary |
|---|---|
| private final byte type Record Component accessed by type(). the type of storage. e.g. stack, or which register type (GP, FP, vector) | |
| VMStorage | back to summary |
|---|---|
| public VMStorage(byte type, short segmentMaskOrSize, int indexOrOffset) | |
| VMStorage | back to summary |
|---|---|
| public VMStorage(byte type, short segmentMaskOrSize, int indexOrOffset, String debugName) | |
| debugName | back to summary |
|---|---|
| public String debugName() Record Component getter of debugName.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of
| |
| indexOrOffset | back to summary |
|---|---|
| public int indexOrOffset() Record Component getter of indexOrOffset.
| |
| segmentMaskOrSize | back to summary |
|---|---|
| public short segmentMaskOrSize() Record Component getter of segmentMaskOrSize.
| |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
| type | back to summary |
|---|---|
| public byte type() Record Component getter of type.
| |