< prev index next >

src/hotspot/share/gc/g1/heapRegion.inline.hpp

Print this page
rev 49497 : [mq]: 8200234-g1concurrentmark-refactorings

@@ -245,10 +245,11 @@
   _next_top_at_mark_start = top();
 }
 
 inline void HeapRegion::note_end_of_marking() {
   _prev_top_at_mark_start = _next_top_at_mark_start;
+  _next_top_at_mark_start = bottom();
   _prev_marked_bytes = _next_marked_bytes;
   _next_marked_bytes = 0;
 }
 
 inline void HeapRegion::note_start_of_copying(bool during_initial_mark) {
< prev index next >