< prev index next >

src/hotspot/share/ci/ciEnv.hpp

Print this page




 358   // May be useful to find out compile_id, comp_level, etc.
 359   CompileTask* task() { return _task; }
 360 
 361   // Handy forwards to the task:
 362   int comp_level();   // task()->comp_level()
 363   uint compile_id();  // task()->compile_id()
 364 
 365   // Register the result of a compilation.
 366   void register_method(ciMethod*                 target,
 367                        int                       entry_bci,
 368                        CodeOffsets*              offsets,
 369                        int                       orig_pc_offset,
 370                        CodeBuffer*               code_buffer,
 371                        int                       frame_words,
 372                        OopMapSet*                oop_map_set,
 373                        ExceptionHandlerTable*    handler_table,
 374                        ImplicitExceptionTable*   inc_table,
 375                        AbstractCompiler*         compiler,
 376                        bool                      has_unsafe_access,
 377                        bool                      has_wide_vectors,


 378                        RTMState                  rtm_state = NoRTM);
 379 
 380 
 381   // Access to certain well known ciObjects.
 382 #define WK_KLASS_FUNC(name, ignore_s) \
 383   ciInstanceKlass* name() { \
 384     return _##name;\
 385   }
 386   WK_KLASSES_DO(WK_KLASS_FUNC)
 387 #undef WK_KLASS_FUNC
 388 
 389   ciInstance* NullPointerException_instance() {
 390     assert(_NullPointerException_instance != NULL, "initialization problem");
 391     return _NullPointerException_instance;
 392   }
 393   ciInstance* ArithmeticException_instance() {
 394     assert(_ArithmeticException_instance != NULL, "initialization problem");
 395     return _ArithmeticException_instance;
 396   }
 397 




 358   // May be useful to find out compile_id, comp_level, etc.
 359   CompileTask* task() { return _task; }
 360 
 361   // Handy forwards to the task:
 362   int comp_level();   // task()->comp_level()
 363   uint compile_id();  // task()->compile_id()
 364 
 365   // Register the result of a compilation.
 366   void register_method(ciMethod*                 target,
 367                        int                       entry_bci,
 368                        CodeOffsets*              offsets,
 369                        int                       orig_pc_offset,
 370                        CodeBuffer*               code_buffer,
 371                        int                       frame_words,
 372                        OopMapSet*                oop_map_set,
 373                        ExceptionHandlerTable*    handler_table,
 374                        ImplicitExceptionTable*   inc_table,
 375                        AbstractCompiler*         compiler,
 376                        bool                      has_unsafe_access,
 377                        bool                      has_wide_vectors,
 378                        bool                      has_monitors,
 379                        int                       immediate_oops_patched,
 380                        RTMState                  rtm_state = NoRTM);
 381 
 382 
 383   // Access to certain well known ciObjects.
 384 #define WK_KLASS_FUNC(name, ignore_s) \
 385   ciInstanceKlass* name() { \
 386     return _##name;\
 387   }
 388   WK_KLASSES_DO(WK_KLASS_FUNC)
 389 #undef WK_KLASS_FUNC
 390 
 391   ciInstance* NullPointerException_instance() {
 392     assert(_NullPointerException_instance != NULL, "initialization problem");
 393     return _NullPointerException_instance;
 394   }
 395   ciInstance* ArithmeticException_instance() {
 396     assert(_ArithmeticException_instance != NULL, "initialization problem");
 397     return _ArithmeticException_instance;
 398   }
 399 


< prev index next >