RFR: 8280056: gtest/LargePageGtests.java#use-large-pages failed "os.release_one_mapping_multi_commits_vm" [v2]

Afshin Zafari azafari at openjdk.org
Wed Oct 18 14:58:15 UTC 2023


> The `attempt_allocate_memory_at(addr, size)` may fail for some reasons that `::mmap`  will report. To find out why an attempt failed, an `int *` is passed down deep to the `::mmap` to return the `ERRNO` back to the callers.
> This error code is used in gTest test case to show a proper message.
> 
> The changed test case never failed after 10K+ repetitions, but in case it happens in future the reason is also printed out.

Afshin Zafari has updated the pull request incrementally with one additional commit since the last revision:

  some pd_xxx calls were missed.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16240/files
  - new: https://git.openjdk.org/jdk/pull/16240/files/42d90d49..5b5eb8cb

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

  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/16240.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16240/head:pull/16240

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


More information about the hotspot-runtime-dev mailing list