changeset 1032:723131383de6

Merge
author acorn
date Fri, 18 Sep 2009 15:14:50 -0400
parents 83c29a26f67c d7c9544cc141
children d72ba3205918 54b3b351d6f9
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/heapRegionSeq.cpp	Wed Sep 16 15:42:46 2009 -0400
+++ b/src/share/vm/gc_implementation/g1/heapRegionSeq.cpp	Fri Sep 18 15:14:50 2009 -0400
@@ -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();