We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c851735 commit 16da81eCopy full SHA for 16da81e
src/hotspot/share/gc/z/zDirector.cpp
@@ -556,7 +556,7 @@ static double calculate_young_to_old_worker_ratio(const ZDirectorStats& stats) {
556
557
const double old_vs_young_efficiency_ratio = current_old_bytes_freed_per_gc_time / current_young_bytes_freed_per_gc_time;
558
559
- return old_vs_young_efficiency_ratio;
+ return MIN2(old_vs_young_efficiency_ratio, (double)ZOldGCThreads);
560
}
561
562
static bool rule_major_proactive(const ZDirectorStats& stats) {
0 commit comments