Class MemoryInfoStream

java.lang.Object
com.ibm.j9ddr.corereaders.minidump.MemoryInfoStream

public class MemoryInfoStream extends Object
  • Field Details

  • Constructor Details

    • MemoryInfoStream

      protected MemoryInfoStream(int dataSize, long location)
  • Method Details

    • readFrom

      public void readFrom(MiniDumpReader dump, boolean is64Bit, Collection<? extends IMemorySource> ranges) throws IOException
      Throws:
      IOException
    • getDataSize

      protected int getDataSize()
    • getLocation

      protected long getLocation()
    • readPtrSize

      public int readPtrSize(MiniDumpReader reader)
      This is part of a hack which allows us to find out the native word size of a Windows MiniDump since it doesn't seem to expose that in any nice way.
      Returns:
      0, unless this is a stream which can determine the value, in that case it returns the value (32 or 64)