mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
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:
parent
633da50166
commit
3079c942b6
9 changed files with 302 additions and 117 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue