< prev index next >
src/share/vm/gc/g1/concurrentMark.cpp
Print this page
*** 2991,3002 ****
}
}
// abandon current marking iteration due to a Full GC
void ConcurrentMark::abort() {
! if (_has_aborted || !cmThread()->during_cycle()) {
! // We have already aborted or we never started a concurrent cycle. No need to do anything.
return;
}
// Clear all marks in the next bitmap for the next marking cycle. This will allow us to skip the next
// concurrent bitmap clearing.
--- 2991,3002 ----
}
}
// abandon current marking iteration due to a Full GC
void ConcurrentMark::abort() {
! if (!cmThread()->during_cycle() || _has_aborted) {
! // We haven't started a concurrent cycle or we have already aborted it. No need to do anything.
return;
}
// Clear all marks in the next bitmap for the next marking cycle. This will allow us to skip the next
// concurrent bitmap clearing.
< prev index next >