public final class OptGCMapIterator extends OptGenericGCMapIterator
The architecture-specific version of the GC Map iterator. It inherits its architecture-independent code from OptGenericGCMapIterator. This version is for IA32.
Modifier and Type | Field and Description |
---|---|
private static boolean |
DEBUG |
(package private) static int |
SAVE_VOL_SIZE |
(package private) static int |
VOL_SIZE |
compiledMethod
framePtr, registerLocations, thread
Constructor and Description |
---|
OptGCMapIterator(AddressArray registerLocations) |
Modifier and Type | Method and Description |
---|---|
Address |
getFirstSpillLoc()
Get address of the first spill location for the given frame ptr
|
Address |
getLastSpillLoc()
Get address of the last spill location for the given frame ptr
|
Address |
getStackLocation(Address framePtr,
int offset)
Determine the stack location given the frame ptr and spill offset.
|
protected void |
updateLocateRegisters()
If any non-volatile GPRs were saved by the method being processed
then update the registerLocations array with the locations where the
registers were saved.
|
cleanupPointers, currentRegisterIsValid, getCurrentRegister, getNextReferenceAddress, getNextReturnAddressAddress, getType, reset, setupIterator, updateCurrentRegister
newStackWalk
private static final boolean DEBUG
static final int VOL_SIZE
static final int SAVE_VOL_SIZE
public OptGCMapIterator(AddressArray registerLocations)
protected void updateLocateRegisters()
updateLocateRegisters
in class OptGenericGCMapIterator
public Address getStackLocation(Address framePtr, int offset)
OptGenericGCMapIterator
getStackLocation
in class OptGenericGCMapIterator
framePtr
- the frame pointeroffset
- the offsetpublic Address getFirstSpillLoc()
getFirstSpillLoc
in class OptGenericGCMapIterator
public Address getLastSpillLoc()
getLastSpillLoc
in class OptGenericGCMapIterator