src/share/vm/ci/ciEnv.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 8031320_8u Sdiff src/share/vm/ci

src/share/vm/ci/ciEnv.hpp

Print this page
rev 5968 : 8031320: Use Intel RTM instructions for locks
Summary: Use RTM for inflated locks and stack locks.
Reviewed-by: iveresov, twisti, roland, dcubed


 346   // The compiler task which has created this env.
 347   // May be useful to find out compile_id, comp_level, etc.
 348   CompileTask* task() { return _task; }
 349   // Handy forwards to the task:
 350   int comp_level();   // task()->comp_level()
 351   uint compile_id();  // task()->compile_id()
 352 
 353   // Register the result of a compilation.
 354   void register_method(ciMethod*                 target,
 355                        int                       entry_bci,
 356                        CodeOffsets*              offsets,
 357                        int                       orig_pc_offset,
 358                        CodeBuffer*               code_buffer,
 359                        int                       frame_words,
 360                        OopMapSet*                oop_map_set,
 361                        ExceptionHandlerTable*    handler_table,
 362                        ImplicitExceptionTable*   inc_table,
 363                        AbstractCompiler*         compiler,
 364                        int                       comp_level,
 365                        bool                      has_unsafe_access,
 366                        bool                      has_wide_vectors);

 367 
 368 
 369   // Access to certain well known ciObjects.
 370 #define WK_KLASS_FUNC(name, ignore_s, ignore_o) \
 371   ciInstanceKlass* name() { \
 372     return _##name;\
 373   }
 374   WK_KLASSES_DO(WK_KLASS_FUNC)
 375 #undef WK_KLASS_FUNC
 376 
 377   ciInstance* NullPointerException_instance() {
 378     assert(_NullPointerException_instance != NULL, "initialization problem");
 379     return _NullPointerException_instance;
 380   }
 381   ciInstance* ArithmeticException_instance() {
 382     assert(_ArithmeticException_instance != NULL, "initialization problem");
 383     return _ArithmeticException_instance;
 384   }
 385 
 386   // Lazy constructors:




 346   // The compiler task which has created this env.
 347   // May be useful to find out compile_id, comp_level, etc.
 348   CompileTask* task() { return _task; }
 349   // Handy forwards to the task:
 350   int comp_level();   // task()->comp_level()
 351   uint compile_id();  // task()->compile_id()
 352 
 353   // Register the result of a compilation.
 354   void register_method(ciMethod*                 target,
 355                        int                       entry_bci,
 356                        CodeOffsets*              offsets,
 357                        int                       orig_pc_offset,
 358                        CodeBuffer*               code_buffer,
 359                        int                       frame_words,
 360                        OopMapSet*                oop_map_set,
 361                        ExceptionHandlerTable*    handler_table,
 362                        ImplicitExceptionTable*   inc_table,
 363                        AbstractCompiler*         compiler,
 364                        int                       comp_level,
 365                        bool                      has_unsafe_access,
 366                        bool                      has_wide_vectors,
 367                        RTMState                  rtm_state = NoRTM);
 368 
 369 
 370   // Access to certain well known ciObjects.
 371 #define WK_KLASS_FUNC(name, ignore_s, ignore_o) \
 372   ciInstanceKlass* name() { \
 373     return _##name;\
 374   }
 375   WK_KLASSES_DO(WK_KLASS_FUNC)
 376 #undef WK_KLASS_FUNC
 377 
 378   ciInstance* NullPointerException_instance() {
 379     assert(_NullPointerException_instance != NULL, "initialization problem");
 380     return _NullPointerException_instance;
 381   }
 382   ciInstance* ArithmeticException_instance() {
 383     assert(_ArithmeticException_instance != NULL, "initialization problem");
 384     return _ArithmeticException_instance;
 385   }
 386 
 387   // Lazy constructors:


src/share/vm/ci/ciEnv.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File