hotspot/src/share/vm/oops/method.hpp
changeset 24442 4d4ae31dea26
parent 24322 c2978d1578e3
child 24443 7aaf1b306b55
equal deleted inserted replaced
24441:50946251753f 24442:4d4ae31dea26
   369     if (mcs != NULL) {
   369     if (mcs != NULL) {
   370       mcs->set_rate(rate);
   370       mcs->set_rate(rate);
   371     }
   371     }
   372   }
   372   }
   373 #endif
   373 #endif
       
   374   int nmethod_age() const {
       
   375     if (method_counters() == NULL) {
       
   376       return INT_MAX;
       
   377     } else {
       
   378       return method_counters()->nmethod_age();
       
   379     }
       
   380   }
   374 
   381 
   375   int invocation_count();
   382   int invocation_count();
   376   int backedge_count();
   383   int backedge_count();
   377 
   384 
   378   bool was_executed_more_than(int n);
   385   bool was_executed_more_than(int n);