< prev index next >
src/hotspot/share/gc/g1/g1CollectionSet.hpp
Print this page
rev 57084 : imported patch 8233919-incrementally-calc-num-occupied
rev 57088 : imported patch 8231579-incremental-calculation-wrong
rev 57091 : imported patch 8234179-move-heapregion-inc-cset-stats-into-g1collectionset
rev 57092 : [mq]: 8234179-lkorinth-review
@@ -172,10 +172,26 @@
};
CSetBuildType _inc_build_state;
size_t _inc_part_start;
+ // 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.
+ double _non_copy_time_ms;
+ // The remembered set length that was added to the total incremental value
+ // for the collection set.
+ size_t _rs_length;
+
+#ifdef ASSERT
+ // Resets members to "uninitialized" values.
+ void reset() { _rs_length = ~(size_t)0; _non_copy_time_ms = -1.0; }
+#endif
+ };
+
+ IncCollectionSetRegionStat* _inc_collection_set_stats;
// The associated information that is maintained while the incremental
// collection set is being built with *young* regions. Used to populate
// the recorded info for the evacuation pause.
// The number of bytes in the incrementally built collection set.
< prev index next >