Module openj9.dtfj

Class ROMHelp

java.lang.Object
com.ibm.j9ddr.vm29.j9.ROMHelp

public class ROMHelp extends Object
Static helper functions. Equivalent to romhelp.c / rommeth.h
  • Constructor Details

    • ROMHelp

      public ROMHelp()
  • Method Details

    • getOriginalROMMethod

      public static com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer getOriginalROMMethod(com.ibm.j9ddr.vm29.pointer.generated.J9MethodPointer method) throws CorruptDataException
      Throws:
      CorruptDataException
    • nextROMMethod

      public static com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer nextROMMethod(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer romMethod) throws CorruptDataException
      Throws:
      CorruptDataException
    • getExtendedModifiersDataFromROMMethod

      public static U32 getExtendedModifiersDataFromROMMethod(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer romMethod) throws CorruptDataException
      Throws:
      CorruptDataException
    • getMethodAnnotationsDataFromROMMethod

      public static U32Pointer getMethodAnnotationsDataFromROMMethod(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer romMethod) throws CorruptDataException
      Throws:
      CorruptDataException
    • getParameterAnnotationsDataFromROMMethod

      public static U32Pointer getParameterAnnotationsDataFromROMMethod(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer romMethod) throws CorruptDataException
      Throws:
      CorruptDataException
    • getDefaultAnnotationDataFromROMMethod

      public static U32Pointer getDefaultAnnotationDataFromROMMethod(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer romMethod) throws CorruptDataException
      Throws:
      CorruptDataException
    • getMethodTypeAnnotationDataFromROMMethod

      public static U32Pointer getMethodTypeAnnotationDataFromROMMethod(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer romMethod) throws CorruptDataException
      Throws:
      CorruptDataException
    • getCodeTypeAnnotationDataFromROMMethod

      public static U32Pointer getCodeTypeAnnotationDataFromROMMethod(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer romMethod) throws CorruptDataException
      Throws:
      CorruptDataException
    • getMethodDebugInfoFromROMMethod

      public static com.ibm.j9ddr.vm29.pointer.generated.J9MethodDebugInfoPointer getMethodDebugInfoFromROMMethod(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer romMethod) throws CorruptDataException
      Throws:
      CorruptDataException
    • J9EXCEPTIONINFO_THROWNAMES

      public static SelfRelativePointer J9EXCEPTIONINFO_THROWNAMES(com.ibm.j9ddr.vm29.pointer.generated.J9ExceptionInfoPointer info) throws CorruptDataException
      Throws:
      CorruptDataException
    • J9EXCEPTIONINFO_HANDLERS

      public static com.ibm.j9ddr.vm29.pointer.generated.J9ExceptionHandlerPointer J9EXCEPTIONINFO_HANDLERS(com.ibm.j9ddr.vm29.pointer.generated.J9ExceptionInfoPointer info) throws CorruptDataException
      Throws:
      CorruptDataException
    • J9_EXCEPTION_DATA_FROM_ROM_METHOD

      public static com.ibm.j9ddr.vm29.pointer.generated.J9ExceptionInfoPointer J9_EXCEPTION_DATA_FROM_ROM_METHOD(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer romMethod) throws CorruptDataException
      Throws:
      CorruptDataException
    • J9_EXTENDED_MODIFIERS_ADDR_FROM_ROM_METHOD

      public static U32Pointer J9_EXTENDED_MODIFIERS_ADDR_FROM_ROM_METHOD(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer romMethod) throws CorruptDataException
      Throws:
      CorruptDataException
    • J9_GENERIC_SIG_ADDR_FROM_ROM_METHOD

      public static U32Pointer J9_GENERIC_SIG_ADDR_FROM_ROM_METHOD(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer romMethod) throws CorruptDataException
      Throws:
      CorruptDataException
    • J9_ROUNDED_BYTECODE_SIZE_FROM_ROM_METHOD

      public static UDATA J9_ROUNDED_BYTECODE_SIZE_FROM_ROM_METHOD(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer romMethod) throws CorruptDataException
      Throws:
      CorruptDataException
    • J9_BYTECODE_SIZE_FROM_ROM_METHOD

      public static UDATA J9_BYTECODE_SIZE_FROM_ROM_METHOD(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer romMethod) throws CorruptDataException
      Throws:
      CorruptDataException
    • J9_BYTECODE_START_FROM_ROM_METHOD

      public static U8Pointer J9_BYTECODE_START_FROM_ROM_METHOD(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
      Throws:
      CorruptDataException
    • J9_ROM_METHOD_FROM_RAM_METHOD

      public static com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer J9_ROM_METHOD_FROM_RAM_METHOD(com.ibm.j9ddr.vm29.pointer.generated.J9MethodPointer method) throws CorruptDataException
      Throws:
      CorruptDataException
    • J9_CLASS_FROM_METHOD

      public static com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer J9_CLASS_FROM_METHOD(com.ibm.j9ddr.vm29.pointer.generated.J9MethodPointer method) throws CorruptDataException
      Throws:
      CorruptDataException
    • J9_ARG_COUNT_FROM_ROM_METHOD

      public static U8 J9_ARG_COUNT_FROM_ROM_METHOD(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
      Throws:
      CorruptDataException
    • J9_TEMP_COUNT_FROM_ROM_METHOD

      public static U16 J9_TEMP_COUNT_FROM_ROM_METHOD(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
      Throws:
      CorruptDataException
    • J9ROMMETHOD_SIGNATURE

      public static com.ibm.j9ddr.vm29.pointer.generated.J9UTF8Pointer J9ROMMETHOD_SIGNATURE(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer method) throws CorruptDataException
      Throws:
      CorruptDataException
    • getStackMapFromROMMethod

      public static U32Pointer getStackMapFromROMMethod(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer romMethod) throws CorruptDataException
      Throws:
      CorruptDataException
    • getMethodParametersFromROMMethod

      public static com.ibm.j9ddr.vm29.pointer.generated.J9MethodParametersDataPointer getMethodParametersFromROMMethod(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer romMethod) throws CorruptDataException
      Throws:
      CorruptDataException
    • J9_METHOD_PARAMS_SIZE_FROM_NUMBER_OF_PARAMS

      public static long J9_METHOD_PARAMS_SIZE_FROM_NUMBER_OF_PARAMS(long numberOfParams) throws CorruptDataException
      Throws:
      CorruptDataException