RFR: JDK-8312469: Print huge page information in error reporting

Thomas Stuefe stuefe at openjdk.org
Fri Jul 21 05:49:11 UTC 2023


We query the OS about hugepage and THP support and have a good printout function already; lets use that for hs-err and VM.info.

We can remove some of the now redundant printing. The new printout is also less wordy.

Example printout:


Static hugepage support:
  hugepage size: 2M
  hugepage size: 1G
  default hugepage size: 2M
Transparent hugepage (THP) support:
  THP mode: always
  THP pagesize: 2M

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

Commit messages:
 - Start

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

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


More information about the hotspot-runtime-dev mailing list