Merge
authorapetrusenko
Fri, 18 Sep 2009 06:02:17 -0700
changeset 3808 de5e1b1e4f66
parent 3806 fc7f4f3df1b7 (current diff)
parent 3807 d8368e0b3783 (diff)
child 3823 f23dbaf46839
child 3827 cef24d2f0baf
Merge
--- a/hotspot/src/share/vm/gc_implementation/g1/heapRegionSeq.cpp	Mon Sep 14 11:45:03 2009 -0700
+++ b/hotspot/src/share/vm/gc_implementation/g1/heapRegionSeq.cpp	Fri Sep 18 06:02:17 2009 -0700
@@ -302,9 +302,9 @@
     if (cur->isHumongous()) {
       return MemRegion(last_start, end);
     }
-    cur->reset_zero_fill();
     assert(cur == _regions.top(), "Should be top");
     if (!cur->is_empty()) break;
+    cur->reset_zero_fill();
     shrink_bytes -= cur->capacity();
     num_regions_deleted++;
     _regions.pop();