public class Location
extends java.lang.Object
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 |
---|---|
static class |
Location.Type |
static class |
Location.Where |
Constructor and Description |
---|
Location(DebugInfoReadStream stream)
Serialization of debugging information
|
Modifier and Type | Method and Description |
---|---|
short |
getOffset() |
int |
getRegisterNumber() |
int |
getStackOffset() |
Location.Type |
getType() |
Location.Where |
getWhere() |
boolean |
holdsAddr() |
boolean |
holdsDouble() |
boolean |
holdsFloat() |
boolean |
holdsInt() |
boolean |
holdsLong() |
boolean |
holdsNarrowOop() |
boolean |
holdsOop() |
boolean |
isIllegal() |
boolean |
isRegister() |
boolean |
isStack() |
void |
print() |
void |
printOn(java.io.PrintStream tty) |
public Location(DebugInfoReadStream stream)
public Location.Where getWhere()
public Location.Type getType()
public short getOffset()
public boolean isRegister()
public boolean isStack()
public boolean holdsOop()
public boolean holdsNarrowOop()
public boolean holdsInt()
public boolean holdsLong()
public boolean holdsFloat()
public boolean holdsDouble()
public boolean holdsAddr()
public boolean isIllegal()
public int getStackOffset()
public int getRegisterNumber()
public void print()
public void printOn(java.io.PrintStream tty)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.