< prev index next >

src/share/vm/gc/g1/g1EvacFailure.cpp

Print this page

        

@@ -149,11 +149,11 @@
     }
 
     size_t gap_size = pointer_delta(end, start);
     MemRegion mr(start, gap_size);
     if (gap_size >= CollectedHeap::min_fill_size()) {
-      CollectedHeap::fill_with_objects(start, gap_size);
+      G1CollectedHeap::fill_with_non_humongous_objects(start, gap_size);
 
       HeapWord* end_first_obj = start + ((oop)start)->size();
       _hr->cross_threshold(start, end_first_obj);
       // Fill_with_objects() may have created multiple (i.e. two)
       // objects, as the max_fill_size() is half a region.
< prev index next >