< prev index next >

src/hotspot/share/jvmci/jvmciRuntime.hpp

Print this page




 210 
 211   // Compiles `target` with the JVMCI compiler.
 212   void compile_method(JVMCIEnv* JVMCIENV, JVMCICompiler* compiler, const methodHandle& target, int entry_bci);
 213 
 214   // Register the result of a compilation.
 215   JVMCI::CodeInstallResult register_method(JVMCIEnv* JVMCIENV,
 216                        const methodHandle&       target,
 217                        nmethod*&                 nm,
 218                        int                       entry_bci,
 219                        CodeOffsets*              offsets,
 220                        int                       orig_pc_offset,
 221                        CodeBuffer*               code_buffer,
 222                        int                       frame_words,
 223                        OopMapSet*                oop_map_set,
 224                        ExceptionHandlerTable*    handler_table,
 225                        ImplicitExceptionTable* implicit_exception_table,
 226                        AbstractCompiler*         compiler,
 227                        DebugInformationRecorder* debug_info,
 228                        Dependencies*             dependencies,
 229                        int                       compile_id,

 230                        bool                      has_unsafe_access,
 231                        bool                      has_wide_vector,
 232                        JVMCIObject               compiled_code,
 233                        JVMCIObject               nmethod_mirror,
 234                        FailedSpeculation**       failed_speculations,
 235                        char*                     speculations,
 236                        int                       speculations_len);
 237 
 238   /**
 239    * Exits the VM due to an unexpected exception.
 240    */
 241   static void exit_on_pending_exception(JVMCIEnv* JVMCIENV, const char* message);
 242 
 243   static void describe_pending_hotspot_exception(JavaThread* THREAD, bool clear);
 244 
 245 #define CHECK_EXIT THREAD); \
 246   if (HAS_PENDING_EXCEPTION) { \
 247     char buf[256]; \
 248     jio_snprintf(buf, 256, "Uncaught exception at %s:%d", __FILE__, __LINE__); \
 249     JVMCIRuntime::exit_on_pending_exception(NULL, buf); \




 210 
 211   // Compiles `target` with the JVMCI compiler.
 212   void compile_method(JVMCIEnv* JVMCIENV, JVMCICompiler* compiler, const methodHandle& target, int entry_bci);
 213 
 214   // Register the result of a compilation.
 215   JVMCI::CodeInstallResult register_method(JVMCIEnv* JVMCIENV,
 216                        const methodHandle&       target,
 217                        nmethod*&                 nm,
 218                        int                       entry_bci,
 219                        CodeOffsets*              offsets,
 220                        int                       orig_pc_offset,
 221                        CodeBuffer*               code_buffer,
 222                        int                       frame_words,
 223                        OopMapSet*                oop_map_set,
 224                        ExceptionHandlerTable*    handler_table,
 225                        ImplicitExceptionTable* implicit_exception_table,
 226                        AbstractCompiler*         compiler,
 227                        DebugInformationRecorder* debug_info,
 228                        Dependencies*             dependencies,
 229                        int                       compile_id,
 230                        bool                      has_monitors,
 231                        bool                      has_unsafe_access,
 232                        bool                      has_wide_vector,
 233                        JVMCIObject               compiled_code,
 234                        JVMCIObject               nmethod_mirror,
 235                        FailedSpeculation**       failed_speculations,
 236                        char*                     speculations,
 237                        int                       speculations_len);
 238 
 239   /**
 240    * Exits the VM due to an unexpected exception.
 241    */
 242   static void exit_on_pending_exception(JVMCIEnv* JVMCIENV, const char* message);
 243 
 244   static void describe_pending_hotspot_exception(JavaThread* THREAD, bool clear);
 245 
 246 #define CHECK_EXIT THREAD); \
 247   if (HAS_PENDING_EXCEPTION) { \
 248     char buf[256]; \
 249     jio_snprintf(buf, 256, "Uncaught exception at %s:%d", __FILE__, __LINE__); \
 250     JVMCIRuntime::exit_on_pending_exception(NULL, buf); \


< prev index next >