Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8240511: Shenandoah: parallel safepoint workers count should be Paral…
…lelGCThreads

Reviewed-by: rkennke
  • Loading branch information
shipilev committed Mar 4, 2020
1 parent 8e74ed4 commit b3666b94a3b4a63e3ef29f0d2f51c197c1398d89
@@ -478,9 +478,9 @@ ShenandoahHeap::ShenandoahHeap(ShenandoahCollectorPolicy* policy) :
_workers->initialize_workers();
}

if (ShenandoahParallelSafepointThreads > 1) {
if (ParallelGCThreads > 1) {
_safepoint_workers = new ShenandoahWorkGang("Safepoint Cleanup Thread",
ShenandoahParallelSafepointThreads,
ParallelGCThreads,
/* are_GC_task_threads */ false,
/* are_ConcurrentGC_threads */ false);
_safepoint_workers->initialize_workers();
@@ -317,9 +317,6 @@
"Forcefully flush non-empty SATB buffers at this interval. " \
"Time is in milliseconds.") \
\
experimental(uint, ShenandoahParallelSafepointThreads, 4, \
"Number of parallel threads used for safepoint prolog/epilog") \
\
diagnostic(bool, ShenandoahPreclean, true, \
"Do concurrent preclean phase before final mark: process " \
"definitely alive references to avoid dealing with them during " \

This file was deleted.

0 comments on commit b3666b9

Please sign in to comment.