src/hotspot/share/runtime/threadSMR.inline.hpp
changeset 59249 29b0d0b61615
parent 59247 56bf71d64d51
child 59252 623722a6aeb9
--- a/src/hotspot/share/runtime/threadSMR.inline.hpp	Mon Nov 25 12:30:24 2019 +0100
+++ b/src/hotspot/share/runtime/threadSMR.inline.hpp	Mon Nov 25 12:31:39 2019 +0100
@@ -56,7 +56,7 @@
 // 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);
+  Atomic::add(&_tlh_times, add_value);
 }
 
 inline void ThreadsSMRSupport::inc_tlh_cnt() {