< prev index next >

src/hotspot/share/ci/ciEnv.hpp

Print this page

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

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

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