< prev index next >

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

Print this page
rev 57223 : imported patch 8225484-changes-to-survivor-calculation

@@ -171,10 +171,11 @@
     Inactive            // We are not actively building the collection set
   };
 
   CSetBuildType _inc_build_state;
   size_t _inc_part_start;
+  uint _cur_eden_young_idx;
 
   // Information about eden regions in the incremental collection set.
   struct IncCollectionSetRegionStat {
     // The predicted non-copy time that was added to the total incremental value
     // for the collection set.

@@ -288,11 +289,14 @@
   // Incremental collection set support
 
   // Initialize incremental collection set info.
   void start_incremental_building();
   // Start a new collection set increment.
-  void update_incremental_marker() { _inc_build_state = Active; _inc_part_start = _collection_set_cur_length; }
+  void update_incremental_marker() {
+    _inc_build_state = Active;
+    _inc_part_start = _collection_set_cur_length;
+  }
   // Stop adding regions to the current collection set increment.
   void stop_incremental_building() { _inc_build_state = Inactive; }
 
   // Iterate over the current collection set increment applying the given HeapRegionClosure
   // from a starting position determined by the given worker id.
< prev index next >