src/hotspot/share/gc/shared/threadLocalAllocBuffer.cpp
changeset 50537 d12828b7cd64
parent 49946 2143feab681a
child 50578 e2a7f431f65c
equal deleted inserted replaced
50536:8434981a4137 50537:d12828b7cd64
   112 
   112 
   113     if (retire) {
   113     if (retire) {
   114       myThread()->incr_allocated_bytes(used_bytes());
   114       myThread()->incr_allocated_bytes(used_bytes());
   115     }
   115     }
   116 
   116 
   117     CollectedHeap::fill_with_object(top(), hard_end(), retire && zap);
   117     Universe::heap()->fill_with_dummy_object(top(), hard_end(), retire && zap);
   118 
   118 
   119     if (retire || ZeroTLAB) {  // "Reset" the TLAB
   119     if (retire || ZeroTLAB) {  // "Reset" the TLAB
   120       set_start(NULL);
   120       set_start(NULL);
   121       set_top(NULL);
   121       set_top(NULL);
   122       set_pf_top(NULL);
   122       set_pf_top(NULL);