JDK-8316393 : gtest/LargePageGtests.java#use-large-pages-sysV fails os.release_multi_mappings_vm
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 22
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • OS: linux
  • CPU: x86_64
  • Submitted: 2023-09-16
  • Updated: 2024-01-25
  • Resolved: 2024-01-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 23
23Resolved
Related Reports
Relates :  
Relates :  
Relates :  
Description
The following test failed in the JDK22 CI:

gtest/LargePageGtests.java#use-large-pages-sysV

Here's a snippet from the log file:

[ RUN      ] os.release_multi_mappings_vm
A
Range [7f8f465e7000-7f8f465ed000) contains: 
7f8f465e7000-7f8f465e8000 rwxp 00000000 00:00 0 
7f8f465e8000-7f8f465e9000 rw-p 00000000 00:00 0 
7f8f465e9000-7f8f465ea000 rwxp 00000000 00:00 0 
7f8f465ea000-7f8f465eb000 rw-p 00000000 00:00 0 
7f8f465eb000-7f8f465ec000 rwxp 00000000 00:00 0 
7f8f465ec000-7f8f46681000 rw-p 00000000 00:00 0 

B
Range [7f8f465e7000-7f8f465ed000) contains: 
7f8f465e7000-7f8f465e8000 rwxp 00000000 00:00 0 
7f8f465eb000-7f8f46681000 rw-p 00000000 00:00 0 

open/test/hotspot/gtest/runtime/test_os.cpp:510: Failure
Expected equality of these values:
  p2
    Which is: NULL
  p_middle_stripes
    Which is: 0x7f8f465e8000

[  FAILED  ] os.release_multi_mappings_vm (0 ms)

There are a couple of unresolved similar bugs, but not exactly matching:

JDK-8280056 gtest/LargePageGtests.java#use-large-pages failed "os.release_one_mapping_multi_commits_vm"

JDK-8263464 NMT: assert in gtest os.release_multi_mappings_vm
Comments
Only bugs associated with changesets should be closed as "Fixed". Either close this issue as "Not An Issue" or close this issue as a duplicate of JDK-8261894.
24-01-2024

JDK-8261894 removed the test together with the whole System V large page feature.
23-01-2024

Oh, wait, I already removed the test with JDK-8261894. I guess we can close this issue, then.
23-01-2024

Runtime Triage: could we remove the test sooner and close this issue ?
23-01-2024

Side note, we plan to remove sys V large pages anyway in the near future, so this test at least will vanish.
04-10-2023