- java.lang.Object
-
- com.ibm.j9ddr.vm29.j9.OptInfo
-
public class OptInfo extends Object
Analogue to util/optinfo.c
-
-
Constructor Summary
Constructors Constructor Description OptInfo()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static U32
COUNT_MASK(U32 value, long mask)
static int
countBits(U32 word)
static U32Pointer
getClassAnnotationsDataForROMClass(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass)
static U32Pointer
getClassTypeAnnotationsDataForROMClass(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass)
static com.ibm.j9ddr.vm29.pointer.generated.J9EnclosingObjectPointer
getEnclosingMethodForROMClass(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass)
static String
getGenericSignatureForROMClass(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass)
static U32
getImplicitCreationFlags(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass)
static int
getLineNumberForROMClass(com.ibm.j9ddr.vm29.pointer.generated.J9MethodPointer method, UDATA relativePC)
static com.ibm.j9ddr.vm29.pointer.generated.J9UTF8Pointer
getLoadableDescriptorAtIndex(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass, int index)
static int
getLoadableDescriptorsCount(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass)
static com.ibm.j9ddr.vm29.pointer.generated.J9MethodDebugInfoPointer
getMethodDebugInfoForROMClass(com.ibm.j9ddr.vm29.pointer.generated.J9MethodPointer method)
static int
getPermittedSubclassCount(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass)
static com.ibm.j9ddr.vm29.pointer.generated.J9UTF8Pointer
getPermittedSubclassNameAtIndex(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass, int index)
static String
getSimpleNameForROMClass(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass)
static com.ibm.j9ddr.vm29.pointer.generated.J9SourceDebugExtensionPointer
getSourceDebugExtensionForROMClass(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass)
static String
getSourceFileNameForROMClass(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass)
static U8Pointer
getV1VariableTableForMethodDebugInfo(com.ibm.j9ddr.vm29.pointer.generated.J9MethodDebugInfoPointer methodInfo)
This method should be used when VM_LOCAL_VARIABLE_TABLE_VERSION >= 1
-
-
-
Method Detail
-
getLineNumberForROMClass
public static int getLineNumberForROMClass(com.ibm.j9ddr.vm29.pointer.generated.J9MethodPointer method, UDATA relativePC) throws CorruptDataException
- Throws:
CorruptDataException
-
getMethodDebugInfoForROMClass
public static com.ibm.j9ddr.vm29.pointer.generated.J9MethodDebugInfoPointer getMethodDebugInfoForROMClass(com.ibm.j9ddr.vm29.pointer.generated.J9MethodPointer method) throws CorruptDataException
- Throws:
CorruptDataException
-
countBits
public static int countBits(U32 word)
-
getV1VariableTableForMethodDebugInfo
public static U8Pointer getV1VariableTableForMethodDebugInfo(com.ibm.j9ddr.vm29.pointer.generated.J9MethodDebugInfoPointer methodInfo) throws CorruptDataException
This method should be used when VM_LOCAL_VARIABLE_TABLE_VERSION >= 1- Throws:
CorruptDataException
-
getSourceFileNameForROMClass
public static String getSourceFileNameForROMClass(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass) throws CorruptDataException
- Throws:
CorruptDataException
-
getSimpleNameForROMClass
public static String getSimpleNameForROMClass(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass) throws CorruptDataException
- Throws:
CorruptDataException
-
getClassAnnotationsDataForROMClass
public static U32Pointer getClassAnnotationsDataForROMClass(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass) throws CorruptDataException
- Throws:
CorruptDataException
-
getClassTypeAnnotationsDataForROMClass
public static U32Pointer getClassTypeAnnotationsDataForROMClass(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass) throws CorruptDataException
- Throws:
CorruptDataException
-
getGenericSignatureForROMClass
public static String getGenericSignatureForROMClass(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass) throws CorruptDataException
- Throws:
CorruptDataException
-
getEnclosingMethodForROMClass
public static com.ibm.j9ddr.vm29.pointer.generated.J9EnclosingObjectPointer getEnclosingMethodForROMClass(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass) throws CorruptDataException
- Throws:
CorruptDataException
-
getSourceDebugExtensionForROMClass
public static com.ibm.j9ddr.vm29.pointer.generated.J9SourceDebugExtensionPointer getSourceDebugExtensionForROMClass(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass) throws CorruptDataException
- Throws:
CorruptDataException
-
getPermittedSubclassCount
public static int getPermittedSubclassCount(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass) throws CorruptDataException
- Throws:
CorruptDataException
-
getPermittedSubclassNameAtIndex
public static com.ibm.j9ddr.vm29.pointer.generated.J9UTF8Pointer getPermittedSubclassNameAtIndex(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass, int index) throws CorruptDataException
- Throws:
CorruptDataException
-
getLoadableDescriptorsCount
public static int getLoadableDescriptorsCount(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass) throws CorruptDataException
- Throws:
CorruptDataException
-
getLoadableDescriptorAtIndex
public static com.ibm.j9ddr.vm29.pointer.generated.J9UTF8Pointer getLoadableDescriptorAtIndex(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass, int index) throws CorruptDataException
- Throws:
CorruptDataException
-
getImplicitCreationFlags
public static U32 getImplicitCreationFlags(com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass) throws CorruptDataException
- Throws:
CorruptDataException
-
-