equal
deleted
inserted
replaced
155 _cbl->push(node); |
155 _cbl->push(node); |
156 ++_allocations; |
156 ++_allocations; |
157 ThreadBlockInVM tbiv(this); // Safepoint check. |
157 ThreadBlockInVM tbiv(this); // Safepoint check. |
158 } |
158 } |
159 tty->print_cr("allocations: " SIZE_FORMAT, _allocations); |
159 tty->print_cr("allocations: " SIZE_FORMAT, _allocations); |
160 Atomic::add(_allocations, _total_allocations); |
160 Atomic::add(_total_allocations, _allocations); |
161 } |
161 } |
162 }; |
162 }; |
163 |
163 |
164 // Simulate a GC thread, taking buffers from the completed buffer list |
164 // Simulate a GC thread, taking buffers from the completed buffer list |
165 // and returning them to the allocator. |
165 // and returning them to the allocator. |