Relates :
|
G1Allocator::reuse_retained_old_region() directly accesses the _hr_printer and _old_set members of G1CollectedHeap instead of using the long available accessor methods. While this is allowed as G1Allocator is a friend of G1CollectedHeap it would be cleaner to just use these public members.