8133051: Concurrent refinement threads may be activated and deactivated at random

Establish min threshold step; earlier primary refinement thread activation.

Reviewed-by: tschatzl, drwhite, mgerdin, jmasa
This commit is contained in:
Kim Barrett 2016-04-18 14:52:31 -04:00
parent 633da50166
commit 3079c942b6
9 changed files with 302 additions and 117 deletions

View file

@ -2095,8 +2095,8 @@ void Arguments::set_g1_gc_flags() {
}
#if INCLUDE_ALL_GCS
if (G1ConcRefinementThreads == 0) {
FLAG_SET_DEFAULT(G1ConcRefinementThreads, ParallelGCThreads);
if (FLAG_IS_DEFAULT(G1ConcRefinementThreads)) {
FLAG_SET_ERGO(uint, G1ConcRefinementThreads, ParallelGCThreads);
}
#endif