org.jikesrvm.compilers.baseline
Class UnusualMaps

java.lang.Object
  extended by org.jikesrvm.compilers.baseline.UnusualMaps

final class UnusualMaps
extends Object

Unusual maps are maps to track references that don't take the usual format.

Currently unusual maps include: maps of locations within JSR subroutines (includes return address map). In the future the return address maps may be expanded to include other internal pointers or internal/external pointers may be handled separately.


Field Summary
(package private)  int nonReferenceMapIndex
          index into the map table of the non-reference set map
(package private)  int normalMapIndex
          index into the array of normal maps ie the back-pointer
(package private)  int referenceMapIndex
          index into the map table of the references set map
(package private)  int returnAddressIndex
          For maps of JSR subroutine locations index into the normal reference map of where the return address can be located
(package private)  int returnAddressMapIndex
          index into the map table of the return address map
 
Constructor Summary
UnusualMaps()
           
 
Method Summary
(package private)  int getNonReferenceMapIndex()
          provide the index in the stackmaps for the non-reference map
(package private)  int getNormalMapIndex()
          provide the normal map index ie the back-pointer
(package private)  int getReferenceMapIndex()
          provide the index in the stackmaps for the reference map
(package private)  int getReturnAddressIndex()
          provide the index in the stack frame of the return address for this map
(package private)  int getReturnAddressMapIndex()
          provide the index in the stackmaps for the return Address map
(package private)  void setNonReferenceMapIndex(int index)
          set the offset of the non-reference map in the stackmap list of maps
(package private)  void setNormalMapIndex(int index)
          set the normal map index ie the back-pointer
(package private)  void setReferenceMapIndex(int index)
          set the offset of the reference map in the stackmap list of maps
(package private)  void setReturnAddressIndex(int index)
          set the index in the stack frame of the return address for this map
(package private)  void setReturnAddressMapIndex(int index)
          set the offset of the returnAddress map in the stackmap list of maps
 void showInfo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

returnAddressIndex

int returnAddressIndex
For maps of JSR subroutine locations index into the normal reference map of where the return address can be located


referenceMapIndex

int referenceMapIndex
index into the map table of the references set map


nonReferenceMapIndex

int nonReferenceMapIndex
index into the map table of the non-reference set map


returnAddressMapIndex

int returnAddressMapIndex
index into the map table of the return address map


normalMapIndex

int normalMapIndex
index into the array of normal maps ie the back-pointer

Constructor Detail

UnusualMaps

UnusualMaps()
Method Detail

setReturnAddressIndex

void setReturnAddressIndex(int index)
set the index in the stack frame of the return address for this map


getReturnAddressIndex

int getReturnAddressIndex()
provide the index in the stack frame of the return address for this map


setReferenceMapIndex

void setReferenceMapIndex(int index)
set the offset of the reference map in the stackmap list of maps


getReferenceMapIndex

int getReferenceMapIndex()
provide the index in the stackmaps for the reference map


setNonReferenceMapIndex

void setNonReferenceMapIndex(int index)
set the offset of the non-reference map in the stackmap list of maps


getNonReferenceMapIndex

int getNonReferenceMapIndex()
provide the index in the stackmaps for the non-reference map


setReturnAddressMapIndex

void setReturnAddressMapIndex(int index)
set the offset of the returnAddress map in the stackmap list of maps


getReturnAddressMapIndex

int getReturnAddressMapIndex()
provide the index in the stackmaps for the return Address map


getNormalMapIndex

int getNormalMapIndex()
provide the normal map index ie the back-pointer


setNormalMapIndex

void setNormalMapIndex(int index)
set the normal map index ie the back-pointer


showInfo

public void showInfo()