src/share/vm/ci/ciMethodData.hpp

changeset 6429
606acabe7b5c
parent 6377
b8413a9cbb84
child 6876
710a3c8b516e
child 6992
2c6ef90f030a
equal deleted inserted replaced
6427:a48e16541e6b 6429:606acabe7b5c
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.

mercurial