Other |
---|
tbdResolved |
Duplicate :
|
G1 code contains the following piece of code to abort root region scan and wait for its completion twice: _cm->root_regions()->abort(); _cm->root_regions()->wait_until_scan_finished(); Adding a helper removes the code duplication. Further, in the future there is likely need for more work to be done at these places, so factoring out this sequence seems useful.