test/hotspot/gtest/gc/shared/test_ptrQueueBufferAllocator.cpp
changeset 59249 29b0d0b61615
parent 59247 56bf71d64d51
--- a/test/hotspot/gtest/gc/shared/test_ptrQueueBufferAllocator.cpp	Mon Nov 25 12:30:24 2019 +0100
+++ b/test/hotspot/gtest/gc/shared/test_ptrQueueBufferAllocator.cpp	Mon Nov 25 12:31:39 2019 +0100
@@ -157,7 +157,7 @@
       ThreadBlockInVM tbiv(this); // Safepoint check.
     }
     tty->print_cr("allocations: " SIZE_FORMAT, _allocations);
-    Atomic::add(_allocations, _total_allocations);
+    Atomic::add(_total_allocations, _allocations);
   }
 };