8080113: Remove CollectedHeap::set_par_threads()

Reviewed-by: jmasa, kbarrett
This commit is contained in:
Stefan Karlsson 2015-05-21 09:35:59 +02:00
parent 8d0f1a6528
commit 5dc3521a80
13 changed files with 6 additions and 101 deletions

View file

@ -627,7 +627,9 @@ void DefNewGeneration::collect(bool full,
"save marks have not been newly set.");
{
// SerialGC runs with n_workers == 0.
// DefNew needs to run with n_threads == 0, to make sure the serial
// version of the card table scanning code is used.
// See: CardTableModRefBS::non_clean_card_iterate_possibly_parallel.
StrongRootsScope srs(0);
gch->gen_process_roots(&srs,