src/hotspot/share/runtime/threadSMR.inline.hpp
changeset 59249 29b0d0b61615
parent 59247 56bf71d64d51
child 59252 623722a6aeb9
equal deleted inserted replaced
59248:e92153ed8bdc 59249:29b0d0b61615
    54 
    54 
    55 // These three inlines are private to ThreadsSMRSupport, but
    55 // These three inlines are private to ThreadsSMRSupport, but
    56 // they are called by public inline update_tlh_stats() below:
    56 // they are called by public inline update_tlh_stats() below:
    57 
    57 
    58 inline void ThreadsSMRSupport::add_tlh_times(uint add_value) {
    58 inline void ThreadsSMRSupport::add_tlh_times(uint add_value) {
    59   Atomic::add(add_value, &_tlh_times);
    59   Atomic::add(&_tlh_times, add_value);
    60 }
    60 }
    61 
    61 
    62 inline void ThreadsSMRSupport::inc_tlh_cnt() {
    62 inline void ThreadsSMRSupport::inc_tlh_cnt() {
    63   Atomic::inc(&_tlh_cnt);
    63   Atomic::inc(&_tlh_cnt);
    64 }
    64 }