hotspot/src/share/vm/gc_implementation/g1/heapRegionSeq.cpp
changeset 1668 8ec481b8f514
parent 1425 ec7818f129f8
child 1675 cc1a5096e88f
equal deleted inserted replaced
1667:fc79935c3055 1668:8ec481b8f514
   100       }
   100       }
   101       size_t sz = hr->capacity() / HeapWordSize;
   101       size_t sz = hr->capacity() / HeapWordSize;
   102       HeapWord* tmp = hr->allocate(sz);
   102       HeapWord* tmp = hr->allocate(sz);
   103       assert(tmp != NULL, "Humongous allocation failure");
   103       assert(tmp != NULL, "Humongous allocation failure");
   104       MemRegion mr = MemRegion(tmp, sz);
   104       MemRegion mr = MemRegion(tmp, sz);
   105       SharedHeap::fill_region_with_object(mr);
   105       CollectedHeap::fill_with_object(mr);
   106       hr->declare_filled_region_to_BOT(mr);
   106       hr->declare_filled_region_to_BOT(mr);
   107       if (i == first) {
   107       if (i == first) {
   108         first_hr->set_startsHumongous();
   108         first_hr->set_startsHumongous();
   109       } else {
   109       } else {
   110         assert(i > first, "sanity");
   110         assert(i > first, "sanity");