RFR: 8253420: Refactor HeapRegionManager::find_highest_free [v2]

Kim Barrett kbarrett at openjdk.java.net
Wed Jan 27 00:30:42 UTC 2021


On Tue, 26 Jan 2021 09:12:53 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> Using for-loop to make the number of iterations more explicit. Direct backward iteration, `for (uint curr = reserved_length() - 1; curr >= 0; curr--)` doesn't work due to underflow of `uint` type. Therefore, I went for current approach.
>> 
>> Test: hotspot_gc
>
> Albert Mingkun Yang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   review

Marked as reviewed by kbarrett (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/2193



More information about the hotspot-gc-dev mailing list