diff --git a/src/hotspot/share/gc/parallel/psAdaptiveSizePolicy.cpp b/src/hotspot/share/gc/parallel/psAdaptiveSizePolicy.cpp index 3e255c15a4e0a..ed35bd8970dc8 100644 --- a/src/hotspot/share/gc/parallel/psAdaptiveSizePolicy.cpp +++ b/src/hotspot/share/gc/parallel/psAdaptiveSizePolicy.cpp @@ -51,7 +51,6 @@ PSAdaptiveSizePolicy::PSAdaptiveSizePolicy(size_t init_eden_size, _avg_major_pause(new AdaptivePaddedAverage(AdaptiveTimeWeight, PausePadding)), _avg_base_footprint(new AdaptiveWeightedAverage(AdaptiveSizePolicyWeight)), _gc_stats(), - _collection_cost_margin_fraction(AdaptiveSizePolicyCollectionCostMargin / 100.0), _major_pause_old_estimator(new LinearLeastSquareFit(AdaptiveSizePolicyWeight)), _major_pause_young_estimator(new LinearLeastSquareFit(AdaptiveSizePolicyWeight)), _latest_major_mutator_interval_seconds(0), diff --git a/src/hotspot/share/gc/parallel/psAdaptiveSizePolicy.hpp b/src/hotspot/share/gc/parallel/psAdaptiveSizePolicy.hpp index 1ffd9a49dcad9..2cf488cc988a4 100644 --- a/src/hotspot/share/gc/parallel/psAdaptiveSizePolicy.hpp +++ b/src/hotspot/share/gc/parallel/psAdaptiveSizePolicy.hpp @@ -75,8 +75,6 @@ class PSAdaptiveSizePolicy : public AdaptiveSizePolicy { // Statistical data gathered for GC GCStats _gc_stats; - const double _collection_cost_margin_fraction; - // Variable for estimating the major and minor pause times. // These variables represent linear least-squares fits of // the data.