src/share/vm/ci/ciMethodData.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/vm/ci/ciMethodData.hpp	Mon Mar 24 16:31:43 2014
--- new/src/share/vm/ci/ciMethodData.hpp	Mon Mar 24 16:31:43 2014

*** 476,485 **** --- 476,497 ---- int creation_mileage() { return _orig.creation_mileage(); } int current_mileage() { return _current_mileage; } int invocation_count() { return _invocation_counter; } int backedge_count() { return _backedge_counter; } + + #if INCLUDE_RTM_OPT + // return cached value + int rtm_state() { + if (is_empty()) { + return NoRTM; + } else { + return get_MethodData()->rtm_state(); + } + } + #endif + // Transfer information about the method to MethodData*. // would_profile means we would like to profile this method, // meaning it's not trivial. void set_would_profile(bool p); // Also set the numer of loops and blocks in the method.

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