< prev index next >

src/hotspot/share/gc/shared/threadLocalAllocBuffer.cpp

Print this page

        

*** 136,153 **** (start() == NULL && end() == NULL && top() == NULL && _allocation_end == NULL), "TLAB must be reset"); } - void ThreadLocalAllocBuffer::resize_all_tlabs() { - if (ResizeTLAB) { - for (JavaThreadIteratorWithHandle jtiwh; JavaThread *thread = jtiwh.next(); ) { - thread->tlab().resize(); - } - } - } - void ThreadLocalAllocBuffer::resize() { // Compute the next tlab size using expected allocation amount assert(ResizeTLAB, "Should not call this otherwise"); size_t alloc = (size_t)(_allocation_fraction.average() * (Universe::heap()->tlab_capacity(thread()) / HeapWordSize)); --- 136,145 ----
< prev index next >