< prev index next >

src/share/vm/gc/g1/g1CollectorPolicy.hpp

Print this page
rev 9416 : dihop-changes
rev 9418 : imported patch erik-jmasa-review
rev 9419 : [mq]: fix-evac-failure-needs-stats


 152   // depending on the sizing algorithm.
 153   uint max_young_length(uint number_of_heap_regions);
 154 
 155   void heap_size_changed(uint new_number_of_heap_regions);
 156   uint min_desired_young_length() {
 157     return _min_desired_young_length;
 158   }
 159   uint max_desired_young_length() {
 160     return _max_desired_young_length;
 161   }
 162   bool adaptive_young_list_length() const {
 163     return _adaptive_size;
 164   }
 165 };
 166 
 167 class G1CollectorPolicy: public CollectorPolicy {
 168  private:
 169   G1IHOPControl* _ihop_control;
 170 
 171   G1IHOPControl* create_ihop_control() const;
 172   void update_ihop_statistics(double marking_to_mixed_time,
 173                               double mutator_time_s,
 174                               size_t mutator_alloc_bytes,
 175                               size_t young_gen_size);
 176   void report_ihop_statistics();
 177 
 178   G1Predictions _predictor;
 179 
 180   double get_new_prediction(TruncatedSeq const* seq) const;
 181 
 182   // either equal to the number of parallel threads, if ParallelGCThreads
 183   // has been set, or 1 otherwise
 184   int _parallel_gc_threads;
 185 
 186   // The number of GC threads currently active.
 187   uintx _no_of_gc_threads;
 188 
 189   G1MMUTracker* _mmu_tracker;
 190 
 191   void initialize_alignments();
 192   void initialize_flags();
 193 




 152   // depending on the sizing algorithm.
 153   uint max_young_length(uint number_of_heap_regions);
 154 
 155   void heap_size_changed(uint new_number_of_heap_regions);
 156   uint min_desired_young_length() {
 157     return _min_desired_young_length;
 158   }
 159   uint max_desired_young_length() {
 160     return _max_desired_young_length;
 161   }
 162   bool adaptive_young_list_length() const {
 163     return _adaptive_size;
 164   }
 165 };
 166 
 167 class G1CollectorPolicy: public CollectorPolicy {
 168  private:
 169   G1IHOPControl* _ihop_control;
 170 
 171   G1IHOPControl* create_ihop_control() const;
 172   // Update the IHOP control with necessary statistics.
 173   void update_ihop_prediction(double mutator_time_s,
 174                               size_t mutator_alloc_bytes,
 175                               size_t young_gen_size);
 176   void report_ihop_statistics();
 177 
 178   G1Predictions _predictor;
 179 
 180   double get_new_prediction(TruncatedSeq const* seq) const;
 181 
 182   // either equal to the number of parallel threads, if ParallelGCThreads
 183   // has been set, or 1 otherwise
 184   int _parallel_gc_threads;
 185 
 186   // The number of GC threads currently active.
 187   uintx _no_of_gc_threads;
 188 
 189   G1MMUTracker* _mmu_tracker;
 190 
 191   void initialize_alignments();
 192   void initialize_flags();
 193 


< prev index next >