A Location describes a concrete machine variable location (such as integer or floating point register or a stack-held variable). Used when generating debug-information for nmethods.
Encoding:
bits: Type: [3..0] Where: [4] Offset: [31..5]
| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private static int | |
| private static int | |
| private static int | |
| private static int | |
| private static int | |
| private static int | |
| private static int | |
| private static int | |
| private static int | |
| private static int | |
| private static int | |
| private static int | |
| private static int | |
| private int | |
| private static int | |
| private static int | |
| private static int | |
| private static int |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public short | |
| public int | |
| public int | |
| public Location. | |
| public Location. | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| private static void | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| private void | |
| private void | |
| private void |
| OFFSET_MASK | back to summary |
|---|---|
| private static int OFFSET_MASK | |
| OFFSET_SHIFT | back to summary |
|---|---|
| private static int OFFSET_SHIFT | |
| TYPE_ADDR | back to summary |
|---|---|
| private static int TYPE_ADDR | |
| TYPE_DBL | back to summary |
|---|---|
| private static int TYPE_DBL | |
| TYPE_FLOAT_IN_DBL | back to summary |
|---|---|
| private static int TYPE_FLOAT_IN_DBL | |
| TYPE_INT_IN_LONG | back to summary |
|---|---|
| private static int TYPE_INT_IN_LONG | |
| TYPE_INVALID | back to summary |
|---|---|
| private static int TYPE_INVALID | |
| TYPE_LNG | back to summary |
|---|---|
| private static int TYPE_LNG | |
| TYPE_MASK | back to summary |
|---|---|
| private static int TYPE_MASK | |
| TYPE_NARROWOOP | back to summary |
|---|---|
| private static int TYPE_NARROWOOP | |
| TYPE_NORMAL | back to summary |
|---|---|
| private static int TYPE_NORMAL | |
| TYPE_OOP | back to summary |
|---|---|
| private static int TYPE_OOP | |
| TYPE_SHIFT | back to summary |
|---|---|
| private static int TYPE_SHIFT | |
| value | back to summary |
|---|---|
| private int value | |
| WHERE_IN_REGISTER | back to summary |
|---|---|
| private static int WHERE_IN_REGISTER | |
| WHERE_MASK | back to summary |
|---|---|
| private static int WHERE_MASK | |
| WHERE_ON_STACK | back to summary |
|---|---|
| private static int WHERE_ON_STACK | |
| WHERE_SHIFT | back to summary |
|---|---|
| private static int WHERE_SHIFT | |
| Location | back to summary |
|---|---|
| pack-priv Location(Location. Create a bit-packed Location | |
| Location | back to summary |
|---|---|
| public Location(DebugInfoReadStream stream) Serialization of debugging information | |
| getOffset | back to summary |
|---|---|
| public short getOffset() | |
| getRegisterNumber | back to summary |
|---|---|
| public int getRegisterNumber() | |
| getStackOffset | back to summary |
|---|---|
| public int getStackOffset() | |
| getType | back to summary |
|---|---|
| public Location. | |
| getWhere | back to summary |
|---|---|
| public Location. | |
| holdsAddr | back to summary |
|---|---|
| public boolean holdsAddr() | |
| holdsDouble | back to summary |
|---|---|
| public boolean holdsDouble() | |
| holdsFloat | back to summary |
|---|---|
| public boolean holdsFloat() | |
| holdsInt | back to summary |
|---|---|
| public boolean holdsInt() | |
| holdsLong | back to summary |
|---|---|
| public boolean holdsLong() | |
| holdsNarrowOop | back to summary |
|---|---|
| public boolean holdsNarrowOop() | |
| holdsOop | back to summary |
|---|---|
| public boolean holdsOop() | |
| initialize | back to summary |
|---|---|
| private static void initialize(TypeDataBase db) | |
| isIllegal | back to summary |
|---|---|
| public boolean isIllegal() | |
| isRegister | back to summary |
|---|---|
| public boolean isRegister() | |
| isStack | back to summary |
|---|---|
| public boolean isStack() | |
| back to summary | |
|---|---|
| public void print() | |
| printOn | back to summary |
|---|---|
| public void printOn(PrintStream tty) | |
| setOffset | back to summary |
|---|---|
| private void setOffset(int offset) | |
| setType | back to summary |
|---|---|
| private void setType(Location. | |
| setWhere | back to summary |
|---|---|
| private void setWhere(Location. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Location. | ADDR
JSR return address |
| public static final Location. | DBL
Double held in one register |
| public static final Location. | FLOAT_IN_DBL
Float held in double register |
| public static final Location. | INT_IN_LONG
Long held in one register |
| public static final Location. | INVALID
Invalid location |
| public static final Location. | LNG
Long held in one register |
| public static final Location. | NARROWOOP
NarrowOop (please GC me!) |
| public static final Location. | NORMAL
Ints, floats, double halves |
| public static final Location. | OOP
Oop (please GC me!) |
| private String |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public String |
| ADDR | back to summary |
|---|---|
| public static final Location. JSR return address | |
| DBL | back to summary |
|---|---|
| public static final Location. Double held in one register | |
| FLOAT_IN_DBL | back to summary |
|---|---|
| public static final Location. Float held in double register | |
| INT_IN_LONG | back to summary |
|---|---|
| public static final Location. Long held in one register | |
| INVALID | back to summary |
|---|---|
| public static final Location. Invalid location | |
| LNG | back to summary |
|---|---|
| public static final Location. Long held in one register | |
| NARROWOOP | back to summary |
|---|---|
| public static final Location. NarrowOop (please GC me!) | |
| NORMAL | back to summary |
|---|---|
| public static final Location. Ints, floats, double halves | |
| OOP | back to summary |
|---|---|
| public static final Location. Oop (please GC me!) | |
| value | back to summary |
|---|---|
| private String value | |
| Type | back to summary |
|---|---|
| private Type(String value) | |
| getValue | back to summary |
|---|---|
| public int getValue() | |
| 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- | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Location. | |
| public static final Location. | |
| private String |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public String |
| IN_REGISTER | back to summary |
|---|---|
| public static final Location. | |
| ON_STACK | back to summary |
|---|---|
| public static final Location. | |
| value | back to summary |
|---|---|
| private String value | |
| Where | back to summary |
|---|---|
| private Where(String value) | |
| getValue | back to summary |
|---|---|
| public int getValue() | |
| 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- | |