- java.lang.Object
-
- com.ibm.j9ddr.corereaders.minidump.ThreadInfoStream
-
public class ThreadInfoStream extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
MEMORY64LIST
static int
MEMORYINFO
static int
MISCINFO
static int
MODULELIST
static int
SYSTEMINFO
static int
THREADINFO
static int
THREADLIST
-
Constructor Summary
Constructors Modifier Constructor Description protected
ThreadInfoStream(int dataSize, long location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getDataSize()
protected long
getLocation()
void
readFrom(MiniDumpReader dump, IAddressSpace addressSpace, boolean is64Bit, List<IOSThread> threads)
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.
-
-
-
Field Detail
-
THREADLIST
public static final int THREADLIST
- See Also:
- Constant Field Values
-
MODULELIST
public static final int MODULELIST
- See Also:
- Constant Field Values
-
SYSTEMINFO
public static final int SYSTEMINFO
- See Also:
- Constant Field Values
-
MEMORY64LIST
public static final int MEMORY64LIST
- See Also:
- Constant Field Values
-
MISCINFO
public static final int MISCINFO
- See Also:
- Constant Field Values
-
MEMORYINFO
public static final int MEMORYINFO
- See Also:
- Constant Field Values
-
THREADINFO
public static final int THREADINFO
- See Also:
- Constant Field Values
-
-
Method Detail
-
readFrom
public void readFrom(MiniDumpReader dump, IAddressSpace addressSpace, boolean is64Bit, List<IOSThread> threads) throws CorruptDataException, IOException
- Throws:
CorruptDataException
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)
-
-