Testing https://github.com/openjdk/jdk/pull/2200 reveals this failure in gtest/GTestWrapper.java:
open/test/hotspot/gtest/runtime/test_os.cpp:376: Failure
Value of: os::commit_memory((char*)q, stripe_len, executable)
Actual: false
Expected: true
open/test/hotspot/gtest/runtime/test_os.cpp:376: Failure
Value of: os::commit_memory((char*)q, stripe_len, executable)
Actual: false
Expected: true
----------System.err:(12/801)----------
java.lang.AssertionError: gtest execution failed; exit code = 2. the failed tests: [os::release_multi_mappings_vm, os::release_multi_mappings_vm]
at GTestWrapper.main(GTestWrapper.java:97)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:831)
[2021-02-28T17:15:34,593Z] [ RUN ] os.release_multi_mappings_vm
[2021-02-28T17:15:34,593Z] open/test/hotspot/gtest/runtime/test_os.cpp:376: Failure
[2021-02-28T17:15:34,593Z] Value of: os::commit_memory((char*)q, stripe_len, executable)
[2021-02-28T17:15:34,593Z] Actual: false
[2021-02-28T17:15:34,593Z] Expected: true
[2021-02-28T17:15:34,593Z] open/test/hotspot/gtest/runtime/test_os.cpp:376: Failure
[2021-02-28T17:15:34,593Z] Value of: os::commit_memory((char*)q, stripe_len, executable)
[2021-02-28T17:15:34,593Z] Actual: false
[2021-02-28T17:15:34,593Z] Expected: true
[2021-02-28T17:15:34,593Z] A
[2021-02-28T17:15:34,593Z] B
[2021-02-28T17:15:34,593Z] C
[2021-02-28T17:15:34,593Z] [ FAILED ] os.release_multi_mappings_vm (0 ms)
[2021-02-28T17:15:34,593Z] [ RUN ] os.release_one_mapping_multi_commits_vm
[2021-02-28T17:15:34,593Z] A
[2021-02-28T17:15:34,593Z] B
[2021-02-28T17:15:34,593Z] C
[2021-02-28T17:15:34,593Z] D
[2021-02-28T17:15:34,593Z] [ OK ] os.release_one_mapping_multi_commits_vm (0 ms)
[2021-02-28T17:15:34,593Z] [ RUN ] os.show_mappings_small_range_vm
[2021-02-28T17:15:34,593Z] [ OK ] os.show_mappings_small_range_vm (1 ms)
[2021-02-28T17:15:34,593Z] [ RUN ] os.show_mappings_full_range_vm
[2021-02-28T17:15:34,593Z] [ OK ] os.show_mappings_full_range_vm (0 ms)
[2021-02-28T17:15:34,593Z] [ RUN ] os.os_pagesizes_vm
[2021-02-28T17:15:34,593Z] 16k
open/test/hotspot/gtest/runtime/test_os.cpp:376: Failure
Value of: os::commit_memory((char*)q, stripe_len, executable)
Actual: false
Expected: true
open/test/hotspot/gtest/runtime/test_os.cpp:376: Failure
Value of: os::commit_memory((char*)q, stripe_len, executable)
Actual: false
Expected: true
----------System.err:(12/801)----------
java.lang.AssertionError: gtest execution failed; exit code = 2. the failed tests: [os::release_multi_mappings_vm, os::release_multi_mappings_vm]
at GTestWrapper.main(GTestWrapper.java:97)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:831)
[2021-02-28T17:15:34,593Z] [ RUN ] os.release_multi_mappings_vm
[2021-02-28T17:15:34,593Z] open/test/hotspot/gtest/runtime/test_os.cpp:376: Failure
[2021-02-28T17:15:34,593Z] Value of: os::commit_memory((char*)q, stripe_len, executable)
[2021-02-28T17:15:34,593Z] Actual: false
[2021-02-28T17:15:34,593Z] Expected: true
[2021-02-28T17:15:34,593Z] open/test/hotspot/gtest/runtime/test_os.cpp:376: Failure
[2021-02-28T17:15:34,593Z] Value of: os::commit_memory((char*)q, stripe_len, executable)
[2021-02-28T17:15:34,593Z] Actual: false
[2021-02-28T17:15:34,593Z] Expected: true
[2021-02-28T17:15:34,593Z] A
[2021-02-28T17:15:34,593Z] B
[2021-02-28T17:15:34,593Z] C
[2021-02-28T17:15:34,593Z] [ FAILED ] os.release_multi_mappings_vm (0 ms)
[2021-02-28T17:15:34,593Z] [ RUN ] os.release_one_mapping_multi_commits_vm
[2021-02-28T17:15:34,593Z] A
[2021-02-28T17:15:34,593Z] B
[2021-02-28T17:15:34,593Z] C
[2021-02-28T17:15:34,593Z] D
[2021-02-28T17:15:34,593Z] [ OK ] os.release_one_mapping_multi_commits_vm (0 ms)
[2021-02-28T17:15:34,593Z] [ RUN ] os.show_mappings_small_range_vm
[2021-02-28T17:15:34,593Z] [ OK ] os.show_mappings_small_range_vm (1 ms)
[2021-02-28T17:15:34,593Z] [ RUN ] os.show_mappings_full_range_vm
[2021-02-28T17:15:34,593Z] [ OK ] os.show_mappings_full_range_vm (0 ms)
[2021-02-28T17:15:34,593Z] [ RUN ] os.os_pagesizes_vm
[2021-02-28T17:15:34,593Z] 16k
- relates to
-
JDK-8267339 Temporarily disable os.release_multi_mappings_vm on macOS x64
-
- Resolved
-
-
JDK-8234930 Use MAP_JIT when allocating pages for code cache on macOS
-
- Resolved
-
-
JDK-8266564 Does pd_map_memory() need MAP_JIT?
-
- Closed
-
-
JDK-8266566 Can we just use mprotect in pd_commit_memory?
-
- Closed
-
-
JDK-8267341 macos attempt_reserve_memory_at(arg1, arg2, true) failure
-
- Resolved
-
-
JDK-8257041 [aix] os::release_memory may not release the full range
-
- Closed
-
(1 relates to, 2 links to)