Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
/ jdk17 Public archive

Commit

Permalink
8271064: ZGC several jvm08 perf regressions after JDK-8268372
Browse files Browse the repository at this point in the history
Reviewed-by: ayang, pliden, tschatzl
  • Loading branch information
fisk committed Aug 4, 2021
1 parent ada58d1 commit 181483b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/hotspot/share/gc/z/zDirector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,7 @@ ZDriverRequest rule_allocation_rate_dynamic() {
// Calculate time until GC given the time until OOM and GC duration.
// We also subtract the sample interval, so that we don't overshoot the
// target time and end up starting the GC too late in the next interval.
const double more_safety_for_fewer_workers = (ConcGCThreads - actual_gc_workers) * sample_interval;
const double time_until_gc = time_until_oom - actual_gc_duration - sample_interval - more_safety_for_fewer_workers;
const double time_until_gc = time_until_oom - actual_gc_duration - sample_interval;

log_debug(gc, director)("Rule: Allocation Rate (Dynamic GC Workers), "
"MaxAllocRate: %.1fMB/s (+/-%.1f%%), Free: " SIZE_FORMAT "MB, GCCPUTime: %.3f, "
Expand Down

1 comment on commit 181483b

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.