1.1 --- a/src/share/vm/gc_implementation/g1/heapRegion.hpp Thu Feb 05 11:42:10 2009 -0800 1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegion.hpp Fri Feb 06 01:38:50 2009 +0300 1.3 @@ -566,7 +566,11 @@ 1.4 void note_end_of_copying() { 1.5 assert(top() >= _next_top_at_mark_start, 1.6 "Increase only"); 1.7 - _next_top_at_mark_start = top(); 1.8 + // Survivor regions will be scanned on the start of concurrent 1.9 + // marking. 1.10 + if (!is_survivor()) { 1.11 + _next_top_at_mark_start = top(); 1.12 + } 1.13 } 1.14 1.15 // Returns "false" iff no object in the region was allocated when the