Skip to content

Commit

Permalink
8240511: Shenandoah: parallel safepoint workers count should be Paral…
Browse files Browse the repository at this point in the history
…lelGCThreads

Reviewed-by: rkennke
  • Loading branch information
shipilev committed Mar 4, 2020
1 parent 8e74ed4 commit b3666b9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 52 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp
Expand Up @@ -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();
Expand Down
3 changes: 0 additions & 3 deletions src/hotspot/share/gc/shenandoah/shenandoah_globals.hpp
Expand Up @@ -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 " \
Expand Down
47 changes: 0 additions & 47 deletions test/hotspot/jtreg/gc/shenandoah/options/TestSafepointWorkers.java

This file was deleted.

0 comments on commit b3666b9

Please sign in to comment.