--- old/src/hotspot/share/gc/g1/g1HeapSizingPolicy.hpp 2020-05-19 15:08:32.255708846 +0200 +++ new/src/hotspot/share/gc/g1/g1HeapSizingPolicy.hpp 2020-05-19 15:08:32.171707610 +0200 @@ -45,9 +45,9 @@ double _ratio_over_threshold_sum; uint _pauses_since_start; - // Scale "full" gc pause time ratio with heap size as we want to resize more + // Scale "full" gc pause time threshold with heap size as we want to resize more // eagerly at small heap sizes. - double scale_with_heap(double pause_time_ratio); + double scale_with_heap(double pause_time_threshold); G1HeapSizingPolicy(const G1CollectedHeap* g1h, const G1Analytics* analytics); public: