equal
deleted
inserted
replaced
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; |