Move them to the concrete subclass and adjust the signature as needed. The caller (SerialHeap) has complete info on both generations; abstracting it out via generation_iterate hinders readability.
- relates to
-
JDK-8331723 Serial: Remove the unused parameter of the method SerialHeap::gc_prologue
- Open