From 383a921aac8f347893326ad4a1d924e9795ff6df Mon Sep 17 00:00:00 2001 From: Erik Helin Date: Wed, 21 Mar 2018 12:47:46 +0100 Subject: [PATCH] 8199027: Make protected members private in G1Policy Reviewed-by: sjohanss, tschatzl --- src/hotspot/share/gc/g1/g1Policy.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/hotspot/share/gc/g1/g1Policy.hpp b/src/hotspot/share/gc/g1/g1Policy.hpp index 3d287ccf808..06342e8e428 100644 --- a/src/hotspot/share/gc/g1/g1Policy.hpp +++ b/src/hotspot/share/gc/g1/g1Policy.hpp @@ -161,7 +161,7 @@ public: double accum_yg_surv_rate_pred(int age) const; -protected: +private: G1CollectionSet* _collection_set; double average_time_ms(G1GCPhaseTimes::GCParPhases phase) const; double other_time_ms(double pause_time_ms) const; @@ -171,7 +171,6 @@ protected: double constant_other_time_ms(double pause_time_ms) const; CollectionSetChooser* cset_chooser() const; -private: // The number of bytes copied during the GC. size_t _bytes_copied_during_gc; @@ -399,7 +398,6 @@ private: AgeTable _survivors_age_table; -protected: size_t desired_survivor_size() const; public: uint tenuring_threshold() const { return _tenuring_threshold; }