< prev index next >

src/hotspot/share/ci/ciEnv.hpp

Print this page

372   // May be useful to find out compile_id, comp_level, etc.
373   CompileTask* task() { return _task; }
374 
375   // Handy forwards to the task:
376   int comp_level();   // task()->comp_level()
377   uint compile_id();  // task()->compile_id()
378 
379   // Register the result of a compilation.
380   void register_method(ciMethod*                 target,
381                        int                       entry_bci,
382                        CodeOffsets*              offsets,
383                        int                       orig_pc_offset,
384                        CodeBuffer*               code_buffer,
385                        int                       frame_words,
386                        OopMapSet*                oop_map_set,
387                        ExceptionHandlerTable*    handler_table,
388                        ImplicitExceptionTable*   inc_table,
389                        AbstractCompiler*         compiler,
390                        bool                      has_unsafe_access,
391                        bool                      has_wide_vectors,
392                        RTMState                  rtm_state = NoRTM,
393                        const GrowableArrayView<RuntimeStub*>& native_invokers = GrowableArrayView<RuntimeStub*>::EMPTY);
394 
395 
396   // Access to certain well known ciObjects.
397 #define VM_CLASS_FUNC(name, ignore_s) \
398   ciInstanceKlass* name() { \
399     return _##name;\
400   }
401   VM_CLASSES_DO(VM_CLASS_FUNC)
402 #undef VM_CLASS_FUNC
403 
404   ciInstance* NullPointerException_instance() {
405     assert(_NullPointerException_instance != NULL, "initialization problem");
406     return _NullPointerException_instance;
407   }
408   ciInstance* ArithmeticException_instance() {
409     assert(_ArithmeticException_instance != NULL, "initialization problem");
410     return _ArithmeticException_instance;
411   }
412 
413   // Lazy constructors:

372   // May be useful to find out compile_id, comp_level, etc.
373   CompileTask* task() { return _task; }
374 
375   // Handy forwards to the task:
376   int comp_level();   // task()->comp_level()
377   uint compile_id();  // task()->compile_id()
378 
379   // Register the result of a compilation.
380   void register_method(ciMethod*                 target,
381                        int                       entry_bci,
382                        CodeOffsets*              offsets,
383                        int                       orig_pc_offset,
384                        CodeBuffer*               code_buffer,
385                        int                       frame_words,
386                        OopMapSet*                oop_map_set,
387                        ExceptionHandlerTable*    handler_table,
388                        ImplicitExceptionTable*   inc_table,
389                        AbstractCompiler*         compiler,
390                        bool                      has_unsafe_access,
391                        bool                      has_wide_vectors,
392                        RTMState                  rtm_state = NoRTM);

393 
394 
395   // Access to certain well known ciObjects.
396 #define VM_CLASS_FUNC(name, ignore_s) \
397   ciInstanceKlass* name() { \
398     return _##name;\
399   }
400   VM_CLASSES_DO(VM_CLASS_FUNC)
401 #undef VM_CLASS_FUNC
402 
403   ciInstance* NullPointerException_instance() {
404     assert(_NullPointerException_instance != NULL, "initialization problem");
405     return _NullPointerException_instance;
406   }
407   ciInstance* ArithmeticException_instance() {
408     assert(_ArithmeticException_instance != NULL, "initialization problem");
409     return _ArithmeticException_instance;
410   }
411 
412   // Lazy constructors:
< prev index next >