diff -r e92153ed8bdc -r 29b0d0b61615 test/hotspot/gtest/gc/shared/test_ptrQueueBufferAllocator.cpp --- 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); } };