hotspot/src/share/vm/ci/ciMethodData.hpp
changeset 23491 f690330b10b9
parent 22916 582da2ed4dfa
child 24476 912595db2e75
equal deleted inserted replaced
23490:54fc219734a0 23491:f690330b10b9
   476   int creation_mileage() { return _orig.creation_mileage(); }
   476   int creation_mileage() { return _orig.creation_mileage(); }
   477   int current_mileage()  { return _current_mileage; }
   477   int current_mileage()  { return _current_mileage; }
   478 
   478 
   479   int invocation_count() { return _invocation_counter; }
   479   int invocation_count() { return _invocation_counter; }
   480   int backedge_count()   { return _backedge_counter;   }
   480   int backedge_count()   { return _backedge_counter;   }
       
   481 
       
   482 #if INCLUDE_RTM_OPT
       
   483   // return cached value
       
   484   int rtm_state() {
       
   485     if (is_empty()) {
       
   486       return NoRTM;
       
   487     } else {
       
   488       return get_MethodData()->rtm_state();
       
   489     }
       
   490   }
       
   491 #endif
       
   492 
   481   // Transfer information about the method to MethodData*.
   493   // Transfer information about the method to MethodData*.
   482   // would_profile means we would like to profile this method,
   494   // would_profile means we would like to profile this method,
   483   // meaning it's not trivial.
   495   // meaning it's not trivial.
   484   void set_would_profile(bool p);
   496   void set_would_profile(bool p);
   485   // Also set the numer of loops and blocks in the method.
   497   // Also set the numer of loops and blocks in the method.