src/hotspot/share/gc/g1/g1Policy.hpp
changeset 49488 1f9dd2360b17
parent 49412 2c3b9dbba7bc
parent 49472 982acd800812
child 49607 acffe6ff3ae7
--- a/src/hotspot/share/gc/g1/g1Policy.hpp	Thu Mar 29 20:12:02 2018 +0100
+++ b/src/hotspot/share/gc/g1/g1Policy.hpp	Sat Mar 24 01:08:35 2018 +0100
@@ -161,7 +161,7 @@
 
   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 @@
   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 @@
 
   AgeTable _survivors_age_table;
 
-protected:
   size_t desired_survivor_size() const;
 public:
   uint tenuring_threshold() const { return _tenuring_threshold; }