< prev index next >

src/hotspot/share/gc/g1/g1Policy.hpp

Print this page
rev 59939 : [mq]: 8243974-investigate-millis-since-last-gc-move

@@ -71,12 +71,10 @@
 
   GCPolicyCounters* _policy_counters;
 
   double _full_collection_start_sec;
 
-  jlong _time_of_last_gc_ns; // For CollectedHeap::millis_since_last_gc() support
-
   uint _young_list_desired_length;
   uint _young_list_target_length;
 
   // The max number of regions we can extend the eden by while the GC
   // locker is active. This should be >= _young_list_target_length;

@@ -253,12 +251,10 @@
   // Returns the given amount of reclaimable bytes (that represents
   // the amount of reclaimable space still to be collected) as a
   // percentage of the current heap capacity.
   double reclaimable_bytes_percent(size_t reclaimable_bytes) const;
 
-  jlong time_of_last_gc() { return _time_of_last_gc_ns; }
-
 private:
   void clear_collection_set_candidates();
   // Sets up marking if proper conditions are met.
   void maybe_start_marking();
 
< prev index next >