Mercurial > hg > truffle
diff src/share/vm/runtime/arguments.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 | 76af788b6c16 |
children | 73d61cd3f8e9 ab4548891480 |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp Fri Sep 26 20:09:02 2014 -0700 +++ b/src/share/vm/runtime/arguments.cpp Sat Sep 27 15:11:41 2014 +0200 @@ -1646,6 +1646,12 @@ Abstract_VM_Version::parallel_worker_threads()); } +#if INCLUDE_ALL_GCS + if (G1ConcRefinementThreads == 0) { + FLAG_SET_DEFAULT(G1ConcRefinementThreads, ParallelGCThreads); + } +#endif + // MarkStackSize will be set (if it hasn't been set by the user) // when concurrent marking is initialized. // Its value will be based upon the number of parallel marking threads.