RFR: 8317831: compiler/codecache/CheckLargePages.java fails on OL 8.8 with unexpected memory string

Yi-Fan Tsai duke at openjdk.org
Tue Dec 5 01:16:04 UTC 2023


Test CheckLargePages was broken by the previous changes:

[JDK-8261894](https://bugs.openjdk.org/browse/JDK-8261894) removes `UseHugeTLBFS`. It was also removed from `os::can_execute_large_page_memory`, and `CodeCache::page_size` cannot  use huge pages anymore.

[JDK-8310233](https://bugs.openjdk.org/browse/JDK-8310233) changes the pagesize logs from

Usable page sizes: 4k, 1G

to

Large page support enabled. Usable page sizes: 4k, 1G. Default large page size: 1G.


This change includes:
- `os::can_execute_large_page_memory` uses `UseLargePages`, which could be implicitly enabled by `UseTransparentHugePages` as well.
- The regular expression in CheckLargePages is updated to capture only the page sizes.
- Test CheckLargePages is still kept in ProblemList.txt until [JDK-8319795](https://bugs.openjdk.org/browse/JDK-8319795)) is resolved.

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

Commit messages:
 - Reserve ProblemList.txt
 - 8317831: compiler/codecache/CheckLargePages.java fails on OL 8.8 with unexpected memory string
 - 8317831: compiler/codecache/CheckLargePages.java fails on OL 8.8 with unexpected memory string

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

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


More information about the hotspot-dev mailing list