equal
deleted
inserted
replaced
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"); |