mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8080113: Remove CollectedHeap::set_par_threads()
Reviewed-by: jmasa, kbarrett
This commit is contained in:
parent
8d0f1a6528
commit
5dc3521a80
13 changed files with 6 additions and 101 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue