Skip to content

Commit

Permalink
8321973: Parallel: Remove unused methods in AdaptiveSizePolicy
Browse files Browse the repository at this point in the history
Reviewed-by: tschatzl
  • Loading branch information
albertnetymk committed Dec 13, 2023
1 parent 2a565ff commit 9320ef9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/hotspot/share/gc/shared/adaptiveSizePolicy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -344,17 +344,11 @@ class AdaptiveSizePolicy : public CHeapObj<mtGC> {
AdaptiveWeightedAverage* avg_eden_live() const { return _avg_eden_live; }
AdaptiveWeightedAverage* avg_old_live() const { return _avg_old_live; }

AdaptivePaddedAverage* avg_survived() const { return _avg_survived; }
AdaptivePaddedNoZeroDevAverage* avg_pretenured() { return _avg_pretenured; }

// Methods indicating events of interest to the adaptive size policy,
// called by GC algorithms. It is the responsibility of users of this
// policy to call these methods at the correct times!
virtual void minor_collection_begin();
virtual void minor_collection_end(GCCause::Cause gc_cause);
virtual LinearLeastSquareFit* minor_pause_old_estimator() const {
return _minor_pause_old_estimator;
}

LinearLeastSquareFit* minor_pause_young_estimator() {
return _minor_pause_young_estimator;
Expand Down Expand Up @@ -404,10 +398,6 @@ class AdaptiveSizePolicy : public CHeapObj<mtGC> {
_overhead_checker.set_gc_overhead_limit_exceeded(v);
}

bool gc_overhead_limit_near() {
return _overhead_checker.gc_overhead_limit_near();
}

void reset_gc_overhead_limit_count() {
_overhead_checker.reset_gc_overhead_limit_count();
}
Expand Down

1 comment on commit 9320ef9

@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.