comparison src/share/vm/gc_implementation/g1/heapRegionSeq.cpp @ 993:54b3b351d6f9

Merge
author jrose
date Wed, 23 Sep 2009 23:56:15 -0700
parents eb058abd0562
children c18cbe5936b8
comparison
equal deleted inserted replaced
992:6a8ccac44f41 993:54b3b351d6f9
300 // We have to leave humongous regions where they are, 300 // We have to leave humongous regions where they are,
301 // and work around them. 301 // and work around them.
302 if (cur->isHumongous()) { 302 if (cur->isHumongous()) {
303 return MemRegion(last_start, end); 303 return MemRegion(last_start, end);
304 } 304 }
305 cur->reset_zero_fill();
306 assert(cur == _regions.top(), "Should be top"); 305 assert(cur == _regions.top(), "Should be top");
307 if (!cur->is_empty()) break; 306 if (!cur->is_empty()) break;
307 cur->reset_zero_fill();
308 shrink_bytes -= cur->capacity(); 308 shrink_bytes -= cur->capacity();
309 num_regions_deleted++; 309 num_regions_deleted++;
310 _regions.pop(); 310 _regions.pop();
311 last_start = cur->bottom(); 311 last_start = cur->bottom();
312 // We need to delete these somehow, but can't currently do so here: if 312 // We need to delete these somehow, but can't currently do so here: if