src/hotspot/share/runtime/threadSMR.cpp
changeset 59249 29b0d0b61615
parent 59247 56bf71d64d51
child 59251 4cbfa5077d68
--- a/src/hotspot/share/runtime/threadSMR.cpp	Mon Nov 25 12:30:24 2019 +0100
+++ b/src/hotspot/share/runtime/threadSMR.cpp	Mon Nov 25 12:31:39 2019 +0100
@@ -134,7 +134,7 @@
 // 'inline' functions first so the definitions are before first use:
 
 inline void ThreadsSMRSupport::add_deleted_thread_times(uint add_value) {
-  Atomic::add(add_value, &_deleted_thread_times);
+  Atomic::add(&_deleted_thread_times, add_value);
 }
 
 inline void ThreadsSMRSupport::inc_deleted_thread_cnt() {