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

Yi-Fan Tsai duke at openjdk.org
Tue Dec 5 14:30:49 UTC 2023


> Test CheckLargePages was broken by the previous changes:
> 
> [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.
> 
> 
> [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.
> 
> This change includes:
> - The regular expression in CheckLargePages is updated to capture only the page sizes.
> - The static huge page will be fixed by  [JDK-8319795](https://bugs.openjdk.org/browse/JDK-8319795).

Yi-Fan Tsai has updated the pull request incrementally with one additional commit since the last revision:

  Reserve only regular expression

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16962/files
  - new: https://git.openjdk.org/jdk/pull/16962/files/580a2f93..54c763ee

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16962&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16962&range=00-01

  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