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

Print this page

        

@@ -570,10 +570,11 @@
     // Survivor regions will be scanned on the start of concurrent
     // marking.
     if (!is_survivor()) {
       _next_top_at_mark_start = top();
     }
+    ContiguousSpace::set_saved_mark();
   }
 
   // Returns "false" iff no object in the region was allocated when the
   // last mark phase ended.
   bool is_marked() { return _prev_top_at_mark_start != bottom(); }