Details
Description
HeapRegion::_recorded_rs_length/_predicted_elapsed_time_ms are temporary values needed by collection set length prediction for every eden region.
G1CollectionSet is the set of eden (+survivor) regions, and is the only one ever reading and writing these variables.
So move them there.
G1CollectionSet is the set of eden (+survivor) regions, and is the only one ever reading and writing these variables.
So move them there.