RFR: JDK-8318643: +UseTransparentHugePages must enable +UseLargePages

Thomas Stuefe stuefe at openjdk.org
Mon Oct 23 06:19:43 UTC 2023


Per contract, +UseTransparentHugePages implies +UseLargePages. That automatism was lost with [JDK-8261894](https://bugs.openjdk.org/browse/JDK-8261894).

The fix is trivial.

Note that a regression test exists, (https://github.com/openjdk/jdk/pull/15159), that's how I found this issue. But this regression test has been drifting in Review Limbo since August. It just needs a second review, @kstefanj already reviewed it.

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

Commit messages:
 - JDK-8318643-+UseTransparentHugePages-must-enable-+UseLargePages

Changes: https://git.openjdk.org/jdk/pull/16302/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16302&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8318643
  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/16302.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16302/head:pull/16302

PR: https://git.openjdk.org/jdk/pull/16302


More information about the hotspot-runtime-dev mailing list