src/hotspot/share/gc/g1/g1Policy.hpp
changeset 55510 3e31a8beaae4
parent 54843 25c329958c70
child 57663 bf8e76d86d05
equal deleted inserted replaced
55509:d58442b8abc1 55510:3e31a8beaae4
   109   G1InitialMarkToMixedTimeTracker _initial_mark_to_mixed;
   109   G1InitialMarkToMixedTimeTracker _initial_mark_to_mixed;
   110 
   110 
   111   bool should_update_surv_rate_group_predictors() {
   111   bool should_update_surv_rate_group_predictors() {
   112     return collector_state()->in_young_only_phase() && !collector_state()->mark_or_rebuild_in_progress();
   112     return collector_state()->in_young_only_phase() && !collector_state()->mark_or_rebuild_in_progress();
   113   }
   113   }
       
   114 
       
   115   double log_buffer_processing_time() const;
   114 public:
   116 public:
   115   const G1Predictions& predictor() const { return _predictor; }
   117   const G1Predictions& predictor() const { return _predictor; }
   116   const G1Analytics* analytics()   const { return const_cast<const G1Analytics*>(_analytics); }
   118   const G1Analytics* analytics()   const { return const_cast<const G1Analytics*>(_analytics); }
   117 
   119 
   118   G1RemSetTrackingPolicy* remset_tracker() { return &_remset_tracker; }
   120   G1RemSetTrackingPolicy* remset_tracker() { return &_remset_tracker; }
   309 
   311 
   310   bool about_to_start_mixed_phase() const;
   312   bool about_to_start_mixed_phase() const;
   311 
   313 
   312   // Record the start and end of an evacuation pause.
   314   // Record the start and end of an evacuation pause.
   313   void record_collection_pause_start(double start_time_sec);
   315   void record_collection_pause_start(double start_time_sec);
   314   virtual void record_collection_pause_end(double pause_time_ms, size_t cards_scanned, size_t heap_used_bytes_before_gc);
   316   virtual void record_collection_pause_end(double pause_time_ms, size_t heap_used_bytes_before_gc);
   315 
   317 
   316   // Record the start and end of a full collection.
   318   // Record the start and end of a full collection.
   317   void record_full_collection_start();
   319   void record_full_collection_start();
   318   virtual void record_full_collection_end();
   320   virtual void record_full_collection_end();
   319 
   321