Currently, ZPage::reset() does different things depending on where the page is being reset and what it will be used for. This leads to checks being somewhat hard to understand and to follow the edge-cases of.
By moving some of the reset logic that is now part of ZPage::reset() to the callsite, some operations can be made easier to understand the reason behind when reading the code.
By moving some of the reset logic that is now part of ZPage::reset() to the callsite, some operations can be made easier to understand the reason behind when reading the code.
- links to
-
Commit(master) openjdk/jdk/ceef161e
-
Review(master) openjdk/jdk/20890