Module openj9.dtfj

Class Symbol


  • public class Symbol
    extends Object
    Class to maintain a list of addresses and coverage extents and a symbolic name - then given an input address will convert this into a string showing offset from the symbol.
    • Field Detail

      • knownSymbolsByName

        protected static HashMap knownSymbolsByName
      • symbolTree

        protected static TreeMap symbolTree
    • Constructor Detail

      • Symbol

        public Symbol​(String name,
                      long address,
                      int extent,
                      int type,
                      int bind)
    • Method Detail

      • getSymbol

        public static Symbol getSymbol​(String name)
      • getSymbolForAddress

        public static String getSymbolForAddress​(long address)
      • getSymbolEnd

        public long getSymbolEnd()
        Returns:
        Returns the symbolEnd.
      • getSymbolName

        public String getSymbolName()
        Returns:
        Returns the symbolName.
      • getSymbolStart

        public long getSymbolStart()
        Returns:
        Returns the symbolStart.
      • getSymbolsIterator

        public static Iterator getSymbolsIterator()
      • getSymbolUsingValue

        public static Symbol getSymbolUsingValue​(Long l)