< prev index next >

test/hotspot/gtest/gc/g1/test_g1FreeIdSet.cpp

Print this page

        

*** 112,122 **** _set->release_par_id(id); ++_allocations; ThreadBlockInVM tbiv(this); // Safepoint check. } tty->print_cr("%u allocations: " SIZE_FORMAT, _thread_number, _allocations); ! Atomic::add(_allocations, _total_allocations); } }; TEST_VM(G1FreeIdSetTest, stress) { const uint start = 5; --- 112,122 ---- _set->release_par_id(id); ++_allocations; ThreadBlockInVM tbiv(this); // Safepoint check. } tty->print_cr("%u allocations: " SIZE_FORMAT, _thread_number, _allocations); ! Atomic::add(_total_allocations, _allocations); } }; TEST_VM(G1FreeIdSetTest, stress) { const uint start = 5;
< prev index next >