< prev index next >

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

Print this page
rev 50815 : Abstraction for TLAB dummy object

@@ -112,12 +112,11 @@
 
     if (retire) {
       myThread()->incr_allocated_bytes(used_bytes());
     }
 
-    HeapWord* obj = Universe::heap()->tlab_post_allocation_setup(top());
-    CollectedHeap::fill_with_object(obj, hard_end(), retire && zap);
+    Universe::heap()->fill_with_dummy_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 >