8064702: Remove the CMS foreground collector

Reviewed-by: kbarrett, ysr
This commit is contained in:
Bengt Rutisson 2014-11-18 10:23:26 +01:00
parent 2616e09389
commit 4b60638d85
9 changed files with 160 additions and 715 deletions

View file

@ -398,8 +398,7 @@ inline void MarkFromRootsClosure::do_yield_check() {
inline void Par_MarkFromRootsClosure::do_yield_check() {
if (ConcurrentMarkSweepThread::should_yield() &&
!_collector->foregroundGCIsActive() &&
_yield) {
!_collector->foregroundGCIsActive()) {
do_yield_work();
}
}