src/share/vm/gc_implementation/g1/heapRegion.hpp

changeset 1456
1f19207eefc2
parent 1455
ff2402f6a50b
child 1829
1316cec51b4d
     1.1 --- a/src/share/vm/gc_implementation/g1/heapRegion.hpp	Fri Oct 02 16:20:42 2009 -0400
     1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegion.hpp	Mon Oct 05 12:05:48 2009 -0400
     1.3 @@ -569,13 +569,8 @@
     1.4    // ever evacuated into this region.  If we evacuate, allocate, and
     1.5    // then evacuate we are in deep doodoo.
     1.6    void note_end_of_copying() {
     1.7 -    assert(top() >= _next_top_at_mark_start,
     1.8 -           "Increase only");
     1.9 -    // Survivor regions will be scanned on the start of concurrent
    1.10 -    // marking.
    1.11 -    if (!is_survivor()) {
    1.12 -      _next_top_at_mark_start = top();
    1.13 -    }
    1.14 +    assert(top() >= _next_top_at_mark_start, "Increase only");
    1.15 +    _next_top_at_mark_start = top();
    1.16    }
    1.17  
    1.18    // Returns "false" iff no object in the region was allocated when the

mercurial