< prev index next >
src/hotspot/share/gc/shared/threadLocalAllocBuffer.cpp
Print this page
rev 50092 : [mq]: allocations-rt.patch
*** 118,129 ****
} else {
myThread()->incr_allocated_bytes(used_bytes());
}
}
! HeapWord* obj = Universe::heap()->tlab_post_allocation_setup(top());
! CollectedHeap::fill_with_object(obj, hard_end(), retire && zap);
if (retire || ZeroTLAB) { // "Reset" the TLAB
set_start(NULL);
set_top(NULL);
set_pf_top(NULL);
--- 118,128 ----
} else {
myThread()->incr_allocated_bytes(used_bytes());
}
}
! CollectedHeap::fill_with_object(top(), hard_end(), retire && zap);
if (retire || ZeroTLAB) { // "Reset" the TLAB
set_start(NULL);
set_top(NULL);
set_pf_top(NULL);
< prev index next >