< prev index next >
src/hotspot/share/runtime/threadSMR.inline.hpp
Print this page
*** 54,64 ****
// These three inlines are private to ThreadsSMRSupport, but
// they are called by public inline update_tlh_stats() below:
inline void ThreadsSMRSupport::add_tlh_times(uint add_value) {
! Atomic::add(add_value, &_tlh_times);
}
inline void ThreadsSMRSupport::inc_tlh_cnt() {
Atomic::inc(&_tlh_cnt);
}
--- 54,64 ----
// These three inlines are private to ThreadsSMRSupport, but
// they are called by public inline update_tlh_stats() below:
inline void ThreadsSMRSupport::add_tlh_times(uint add_value) {
! Atomic::add(&_tlh_times, add_value);
}
inline void ThreadsSMRSupport::inc_tlh_cnt() {
Atomic::inc(&_tlh_cnt);
}
< prev index next >