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

assert at share/vm/services/virtualMemoryTracker.cpp:332 Error: ShouldNotReachHere() when running NMT tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b29
    • CPU:
      x86
    • OS:
      linux
    • Verification:
      Not verified

      Backports

        Description

        Ran NMT tests on Linux i586 with client VM and the following tests:

        runtime/NMT/BaselineWithParameter.java
        runtime/NMT/JcmdBaselineDetail.java
        runtime/NMT/JcmdScale.java
        runtime/NMT/JcmdScaleDetail.java
        runtime/NMT/ShutdownTwice.java
        runtime/NMT/SummaryAfterShutdown.java

        hit the following assert:

        # Internal Error (/opt/jprt/T/P1/160847.ctornqvi/s/src/share/vm/services/virtualMemoryTracker.cpp:332), pid=2359, tid=1451232144
        # Error: ShouldNotReachHere()

        Stack:

        V [libjvm.so+0xa9c128] VMError::report_and_die()+0x198
        V [libjvm.so+0x3c771a] report_should_not_reach_here(char const*, int)+0x7a
        V [libjvm.so+0xa8e8c4] VirtualMemoryTracker::add_reserved_region(unsigned char*, unsigned int, NativeCallStack const&, MemoryType, bool)+0x144
        V [libjvm.so+0x8a8540] os::map_memory(int, char const*, unsigned int, char*, unsigned int, bool, bool)+0x100
        V [libjvm.so+0x419f71] FileMapInfo::map_region(int)+0x61
        V [libjvm.so+0x81641a] MetaspaceShared::map_shared_spaces(FileMapInfo*)+0x4a
        V [libjvm.so+0x8136a8] Metaspace::global_initialize()+0x428
        V [libjvm.so+0xa5171d] universe_init()+0x5d
        V [libjvm.so+0x4fc441] init_globals()+0x61
        V [libjvm.so+0xa345c4] Threads::create_vm(JavaVMInitArgs*, bool*)+0x224
        V [libjvm.so+0x647218] JNI_CreateJavaVM+0x88
        C [libjli.so+0x5edd] JavaMain+0x8d
        C [libpthread.so.0+0x632f] start_thread+0xbf
        C [libc.so.6+0xde20e] clone+0x5e

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                zgu Zhengyu Gu
                Reporter:
                ctornqvi Christian Tornqvist
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: