After freeing regions G1 calls the HRPrinter to indicate that regions have been freed.
Two issues:
a) Typically code collects these freed region into lists, and after that prints the "CLEANUP" messages for the entire list.
That code for printing is copy&pasted in two places
b) The free collection set phase does not print the "CLEANUP" message for freed regions, but prints the "EVAC-FAILURE" one for evacuated regions
Two issues:
a) Typically code collects these freed region into lists, and after that prints the "CLEANUP" messages for the entire list.
That code for printing is copy&pasted in two places
b) The free collection set phase does not print the "CLEANUP" message for freed regions, but prints the "EVAC-FAILURE" one for evacuated regions