< prev index next >

test/hotspot/gtest/gc/shared/test_ptrQueueBufferAllocator.cpp

Print this page

        

*** 155,165 **** _cbl->push(node); ++_allocations; ThreadBlockInVM tbiv(this); // Safepoint check. } tty->print_cr("allocations: " SIZE_FORMAT, _allocations); ! Atomic::add(_allocations, _total_allocations); } }; // Simulate a GC thread, taking buffers from the completed buffer list // and returning them to the allocator. --- 155,165 ---- _cbl->push(node); ++_allocations; ThreadBlockInVM tbiv(this); // Safepoint check. } tty->print_cr("allocations: " SIZE_FORMAT, _allocations); ! Atomic::add(_total_allocations, _allocations); } }; // Simulate a GC thread, taking buffers from the completed buffer list // and returning them to the allocator.
< prev index next >