Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8262952

[macos_aarch64] os::commit_memory failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • hotspot
    • None
    • b23
    • aarch64
    • os_x

      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

            gziemski Gerard Ziemski
            gziemski Gerard Ziemski
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: