Module openj9.dtfj

Class ROMHelp


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

      • ROMHelp

        public ROMHelp()
    • Method Detail

      • 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
      • getMethodDebugInfoFromROMMethod

        public static com.ibm.j9ddr.vm29.pointer.generated.J9MethodDebugInfoPointer getMethodDebugInfoFromROMMethod​(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer romMethod)
                                                                                                             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_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_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
      • 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
      • getMethodParametersFromROMMethod

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