test/hotspot/gtest/gc/g1/test_g1FreeIdSet.cpp
changeset 59249 29b0d0b61615
parent 59247 56bf71d64d51
equal deleted inserted replaced
59248:e92153ed8bdc 59249:29b0d0b61615
   112       _set->release_par_id(id);
   112       _set->release_par_id(id);
   113       ++_allocations;
   113       ++_allocations;
   114       ThreadBlockInVM tbiv(this); // Safepoint check.
   114       ThreadBlockInVM tbiv(this); // Safepoint check.
   115     }
   115     }
   116     tty->print_cr("%u allocations: " SIZE_FORMAT, _thread_number, _allocations);
   116     tty->print_cr("%u allocations: " SIZE_FORMAT, _thread_number, _allocations);
   117     Atomic::add(_allocations, _total_allocations);
   117     Atomic::add(_total_allocations, _allocations);
   118   }
   118   }
   119 };
   119 };
   120 
   120 
   121 TEST_VM(G1FreeIdSetTest, stress) {
   121 TEST_VM(G1FreeIdSetTest, stress) {
   122   const uint start = 5;
   122   const uint start = 5;