hotspot/src/share/vm/gc/g1/g1CollectionSet.hpp
changeset 38183 cb68e4923223
parent 38109 6503703df058
child 39698 4016de4e596b
equal deleted inserted replaced
38173:73d05e56ec86 38183:cb68e4923223
    32 
    32 
    33 class G1CollectedHeap;
    33 class G1CollectedHeap;
    34 class G1CollectorState;
    34 class G1CollectorState;
    35 class G1GCPhaseTimes;
    35 class G1GCPhaseTimes;
    36 class G1Policy;
    36 class G1Policy;
       
    37 class G1SurvivorRegions;
    37 class HeapRegion;
    38 class HeapRegion;
    38 
    39 
    39 class G1CollectionSet VALUE_OBJ_CLASS_SPEC {
    40 class G1CollectionSet VALUE_OBJ_CLASS_SPEC {
    40   G1CollectedHeap* _g1;
    41   G1CollectedHeap* _g1;
    41   G1Policy* _policy;
    42   G1Policy* _policy;
   173   }
   174   }
   174 
   175 
   175   // Choose a new collection set.  Marks the chosen regions as being
   176   // Choose a new collection set.  Marks the chosen regions as being
   176   // "in_collection_set", and links them together.  The head and number of
   177   // "in_collection_set", and links them together.  The head and number of
   177   // the collection set are available via access methods.
   178   // the collection set are available via access methods.
   178   double finalize_young_part(double target_pause_time_ms);
   179   double finalize_young_part(double target_pause_time_ms, G1SurvivorRegions* survivors);
   179   void finalize_old_part(double time_remaining_ms);
   180   void finalize_old_part(double time_remaining_ms);
   180 
   181 
   181   // Add old region "hr" to the CSet.
   182   // Add old region "hr" to the CSet.
   182   void add_old_region(HeapRegion* hr);
   183   void add_old_region(HeapRegion* hr);
   183 
   184