comparison src/share/vm/opto/compile.hpp @ 17810:62c54fcc0a35

Merge
author kvn
date Tue, 25 Mar 2014 17:07:36 -0700
parents a9becfeecd1b 606acabe7b5c
children 3636afd5ec1a
comparison
equal deleted inserted replaced
17809:a433eb716ce1 17810:62c54fcc0a35
317 bool _print_intrinsics; // True if we should print intrinsics for this compilation 317 bool _print_intrinsics; // True if we should print intrinsics for this compilation
318 #ifndef PRODUCT 318 #ifndef PRODUCT
319 bool _trace_opto_output; 319 bool _trace_opto_output;
320 bool _parsed_irreducible_loop; // True if ciTypeFlow detected irreducible loops during parsing 320 bool _parsed_irreducible_loop; // True if ciTypeFlow detected irreducible loops during parsing
321 #endif 321 #endif
322
323 // JSR 292 322 // JSR 292
324 bool _has_method_handle_invokes; // True if this method has MethodHandle invokes. 323 bool _has_method_handle_invokes; // True if this method has MethodHandle invokes.
324 RTMState _rtm_state; // State of Restricted Transactional Memory usage
325 325
326 // Compilation environment. 326 // Compilation environment.
327 Arena _comp_arena; // Arena with lifetime equivalent to Compile 327 Arena _comp_arena; // Arena with lifetime equivalent to Compile
328 ciEnv* _env; // CI interface 328 ciEnv* _env; // CI interface
329 CompileLog* _log; // from CompilerThread 329 CompileLog* _log; // from CompilerThread
589 void set_print_assembly(bool z) { _print_assembly = z; } 589 void set_print_assembly(bool z) { _print_assembly = z; }
590 bool print_inlining() const { return _print_inlining; } 590 bool print_inlining() const { return _print_inlining; }
591 void set_print_inlining(bool z) { _print_inlining = z; } 591 void set_print_inlining(bool z) { _print_inlining = z; }
592 bool print_intrinsics() const { return _print_intrinsics; } 592 bool print_intrinsics() const { return _print_intrinsics; }
593 void set_print_intrinsics(bool z) { _print_intrinsics = z; } 593 void set_print_intrinsics(bool z) { _print_intrinsics = z; }
594 RTMState rtm_state() const { return _rtm_state; }
595 void set_rtm_state(RTMState s) { _rtm_state = s; }
596 bool use_rtm() const { return (_rtm_state & NoRTM) == 0; }
597 bool profile_rtm() const { return _rtm_state == ProfileRTM; }
594 // check the CompilerOracle for special behaviours for this compile 598 // check the CompilerOracle for special behaviours for this compile
595 bool method_has_option(const char * option) { 599 bool method_has_option(const char * option) {
596 return method() != NULL && method()->has_option(option); 600 return method() != NULL && method()->has_option(option);
597 } 601 }
598 #ifndef PRODUCT 602 #ifndef PRODUCT