< 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
*** 180,189 ****
--- 180,194 ----
// 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
< prev index next >