< prev index next >

src/hotspot/share/jvmci/jvmciRuntime.hpp

Print this page

286 
287   // Determines if the GC identified by `name` is supported by the JVMCI compiler.
288   bool is_gc_supported(JVMCIEnv* JVMCIENV, CollectedHeap::Name name);
289 
290   // Register the result of a compilation.
291   JVMCI::CodeInstallResult register_method(JVMCIEnv* JVMCIENV,
292                        const methodHandle&       target,
293                        nmethodLocker&            code_handle,
294                        int                       entry_bci,
295                        CodeOffsets*              offsets,
296                        int                       orig_pc_offset,
297                        CodeBuffer*               code_buffer,
298                        int                       frame_words,
299                        OopMapSet*                oop_map_set,
300                        ExceptionHandlerTable*    handler_table,
301                        ImplicitExceptionTable*   implicit_exception_table,
302                        AbstractCompiler*         compiler,
303                        DebugInformationRecorder* debug_info,
304                        Dependencies*             dependencies,
305                        int                       compile_id,

306                        bool                      has_unsafe_access,
307                        bool                      has_wide_vector,
308                        JVMCIObject               compiled_code,
309                        JVMCIObject               nmethod_mirror,
310                        FailedSpeculation**       failed_speculations,
311                        char*                     speculations,
312                        int                       speculations_len);
313 
314   // Reports an unexpected exception and exits the VM with a fatal error.
315   static void fatal_exception(JVMCIEnv* JVMCIENV, const char* message);
316 
317   static void describe_pending_hotspot_exception(JavaThread* THREAD, bool clear);
318 
319 #define CHECK_EXIT THREAD); \
320   if (HAS_PENDING_EXCEPTION) { \
321     char buf[256]; \
322     jio_snprintf(buf, 256, "Uncaught exception at %s:%d", __FILE__, __LINE__); \
323     JVMCIRuntime::fatal_exception(NULL, buf); \
324     return; \
325   } \

286 
287   // Determines if the GC identified by `name` is supported by the JVMCI compiler.
288   bool is_gc_supported(JVMCIEnv* JVMCIENV, CollectedHeap::Name name);
289 
290   // Register the result of a compilation.
291   JVMCI::CodeInstallResult register_method(JVMCIEnv* JVMCIENV,
292                        const methodHandle&       target,
293                        nmethodLocker&            code_handle,
294                        int                       entry_bci,
295                        CodeOffsets*              offsets,
296                        int                       orig_pc_offset,
297                        CodeBuffer*               code_buffer,
298                        int                       frame_words,
299                        OopMapSet*                oop_map_set,
300                        ExceptionHandlerTable*    handler_table,
301                        ImplicitExceptionTable*   implicit_exception_table,
302                        AbstractCompiler*         compiler,
303                        DebugInformationRecorder* debug_info,
304                        Dependencies*             dependencies,
305                        int                       compile_id,
306                        bool                      has_monitors,
307                        bool                      has_unsafe_access,
308                        bool                      has_wide_vector,
309                        JVMCIObject               compiled_code,
310                        JVMCIObject               nmethod_mirror,
311                        FailedSpeculation**       failed_speculations,
312                        char*                     speculations,
313                        int                       speculations_len);
314 
315   // Reports an unexpected exception and exits the VM with a fatal error.
316   static void fatal_exception(JVMCIEnv* JVMCIENV, const char* message);
317 
318   static void describe_pending_hotspot_exception(JavaThread* THREAD, bool clear);
319 
320 #define CHECK_EXIT THREAD); \
321   if (HAS_PENDING_EXCEPTION) { \
322     char buf[256]; \
323     jio_snprintf(buf, 256, "Uncaught exception at %s:%d", __FILE__, __LINE__); \
324     JVMCIRuntime::fatal_exception(NULL, buf); \
325     return; \
326   } \
< prev index next >