RFR: 8276129: PretouchTask should page-align the chunk size [v2]
Stefan Karlsson
stefank at openjdk.java.net
Fri Nov 5 08:33:14 UTC 2021
On Fri, 5 Nov 2021 00:53:33 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
>> Please review this change to PretouchTask to page-align the chunk size.
>> Aligning down is used because it's easy; aligning up would require dealing
>> with possible overflow or verifying that overflow isn't possible.
>>
>> Testing:
>> mach5 tier1
>>
>> Locally (linux-x64) java -version with pretouch task logging and various
>> chunk sizes, manually verifying the number of workers was as expected.
>
> Kim Barrett has updated the pull request incrementally with one additional commit since the last revision:
>
> use align_down_bounded
Marked as reviewed by stefank (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/6204
More information about the hotspot-gc-dev
mailing list