< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahHeapRegion.cpp

Print this page
rev 50095 : [mq]: allocations-rt.patch

@@ -477,14 +477,12 @@
   obj->oop_iterate(blk, MemRegion(bottom(), top()));
 }
 
 void ShenandoahHeapRegion::fill_region() {
   if (free() > (BrooksPointer::word_size() + CollectedHeap::min_fill_size())) {
-    HeapWord* filler = allocate(BrooksPointer::word_size(), ShenandoahHeap::_alloc_shared);
     HeapWord* obj = allocate(end() - top(), ShenandoahHeap::_alloc_shared);
     _heap->fill_with_object(obj, end() - obj);
-    BrooksPointer::initialize(oop(obj));
   }
 }
 
 ShenandoahHeapRegion* ShenandoahHeapRegion::humongous_start_region() const {
   assert(is_humongous(), "Must be a part of the humongous region");
< prev index next >