RFR: 8276129: PretouchTask should page-align the chunk size
kbarrett at openjdk.java.net
Tue Nov 2 01:36:28 UTC 2021
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.
Locally (linux-x64) java -version with pretouch task logging and various
chunk sizes, manually verifying the number of workers was as expected.
- page-align chunk size
Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6204/head:pull/6204
More information about the hotspot-gc-dev