< prev index next >
src/share/vm/gc/shared/cardTableModRefBS.cpp
Print this page
*** 450,461 ****
fatal("Parallel gc not supported here.");
#endif // INCLUDE_ALL_GCS
} else {
// clear_cl finds contiguous dirty ranges of cards to process and clear.
! DirtyCardToOopClosure* dcto_cl = sp->new_dcto_cl(cl, precision(), cl->gen_boundary(), false);
! ClearNoncleanCardWrapper clear_cl(dcto_cl, ct, false);
clear_cl.do_MemRegion(mr);
}
}
}
--- 450,464 ----
fatal("Parallel gc not supported here.");
#endif // INCLUDE_ALL_GCS
} else {
// clear_cl finds contiguous dirty ranges of cards to process and clear.
! // This is the single-threaded version.
! const bool parallel = false;
!
! DirtyCardToOopClosure* dcto_cl = sp->new_dcto_cl(cl, precision(), cl->gen_boundary(), parallel);
! ClearNoncleanCardWrapper clear_cl(dcto_cl, ct, parallel);
clear_cl.do_MemRegion(mr);
}
}
}
< prev index next >