diff src/share/vm/gc_implementation/concurrentMarkSweep/freeList.cpp @ 1885:a5c514e74487

6988458: G1: assert(mr.end() <= _cm->finger()) failed: otherwise the region shouldn't be on the stack Summary: The changes from 6941395 did not clear the CMTask::_aborted_region fields when concurrent marking aborted because of overflow. As a result, the next time around we could see a memory region whose start address was above the global finger and the assertion tripped. Moved the clearing of the aborted regions to ConcurrentMark::clear_marking_state, which is executed on all of the exit paths. Reviewed-by: tonyp, ysr, jmasa
author johnc
date Mon, 18 Oct 2010 15:01:41 -0700
parents 179464550c7d
children f95d63e2154a
line wrap: on
line diff