Mercurial > hg > truffle
diff src/share/vm/gc_implementation/g1/concurrentG1Refine.cpp @ 20505:8ba0078861d4
8047976: Ergonomics for GC thread counts should update the flags
Summary: Ergonomics updates flags for number of GC threads
Reviewed-by: tschatzl, jwilhelm
Contributed-by: sangheon.kim@oracle.com
author | jwilhelm |
---|---|
date | Sat, 27 Sep 2014 15:11:41 +0200 |
parents | 1f1d373cd044 |
children | 7848fc12602b |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/concurrentG1Refine.cpp Fri Sep 26 20:09:02 2014 -0700 +++ b/src/share/vm/gc_implementation/g1/concurrentG1Refine.cpp Sat Sep 27 15:11:41 2014 +0200 @@ -128,9 +128,7 @@ } uint ConcurrentG1Refine::thread_num() { - uint n_threads = (G1ConcRefinementThreads > 0) ? G1ConcRefinementThreads - : ParallelGCThreads; - return MAX2<uint>(n_threads, 1); + return G1ConcRefinementThreads; } void ConcurrentG1Refine::print_worker_threads_on(outputStream* st) const {