hotspot/src/share/vm/gc/g1/g1CollectionSet.hpp
changeset 38109 6503703df058
parent 37985 539c597ee0fa
child 38183 cb68e4923223
equal deleted inserted replaced
38108:95c7e9d6747c 38109:6503703df058
   102   double _inc_predicted_elapsed_time_ms;
   102   double _inc_predicted_elapsed_time_ms;
   103 
   103 
   104   // See the comment for _inc_recorded_rs_lengths_diffs.
   104   // See the comment for _inc_recorded_rs_lengths_diffs.
   105   double _inc_predicted_elapsed_time_ms_diffs;
   105   double _inc_predicted_elapsed_time_ms_diffs;
   106 
   106 
       
   107   uint _inc_region_length;
       
   108 
   107   G1CollectorState* collector_state();
   109   G1CollectorState* collector_state();
   108   G1GCPhaseTimes* phase_times();
   110   G1GCPhaseTimes* phase_times();
   109 
   111 
   110   double predict_region_elapsed_time_ms(HeapRegion* hr);
   112   double predict_region_elapsed_time_ms(HeapRegion* hr);
   111 
   113 
       
   114   void verify_young_cset_indices() const NOT_DEBUG_RETURN;
   112 public:
   115 public:
   113   G1CollectionSet(G1CollectedHeap* g1h, G1Policy* policy);
   116   G1CollectionSet(G1CollectedHeap* g1h, G1Policy* policy);
   114   ~G1CollectionSet();
   117   ~G1CollectionSet();
   115 
   118 
   116   CollectionSetChooser* cset_chooser();
   119   CollectionSetChooser* cset_chooser();
   145   void finalize_incremental_building();
   148   void finalize_incremental_building();
   146 
   149 
   147   void clear_incremental() {
   150   void clear_incremental() {
   148     _inc_head = NULL;
   151     _inc_head = NULL;
   149     _inc_tail = NULL;
   152     _inc_tail = NULL;
       
   153     _inc_region_length = 0;
   150   }
   154   }
   151 
   155 
   152   // Stop adding regions to the incremental collection set
   156   // Stop adding regions to the incremental collection set
   153   void stop_incremental_building() { _inc_build_state = Inactive; }
   157   void stop_incremental_building() { _inc_build_state = Inactive; }
   154 
   158