RFR: 8273872: ZGC: Explicitly use 2M large pages [v4]
Per Liden
pliden at openjdk.java.net
Thu Sep 16 12:41:25 UTC 2021
> ZGC requires large pages to be 2M. However, ZGC doesn't explicitly asks for this page size and instead relies on the default large pages size for the system to be 2M. On systems where this is not true, ZGC will fails with an error message. To avoid this, ZGC should explicitly ask for 2M large pages and not rely on the system default. Furthermore, ZGC currently ignores `-XX:LargePageSizeInBytes`. ZGC should fails with an error message if it's specified to something other than 2M.
Per Liden has updated the pull request incrementally with one additional commit since the last revision:
Fix comment
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/5541/files
- new: https://git.openjdk.java.net/jdk/pull/5541/files/1fd609ca..a76baace
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5541&range=03
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5541&range=02-03
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/5541.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5541/head:pull/5541
PR: https://git.openjdk.java.net/jdk/pull/5541
More information about the hotspot-dev
mailing list