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

Error: ShouldNotReachHere() in virtualMemoryTracker.cpp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 23
    • hotspot
    • None

      The test runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java#id2
      runs into a failure after JDK-8330076:

      # Internal Error (/jdk/src/hotspot/share/nmt/virtualMemoryTracker.cpp:412), pid=19035, tid=19038
      # Error: ShouldNotReachHere()

      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x1cd2fec] VirtualMemoryTracker::add_reserved_region(unsigned char*, unsigned long, NativeCallStack const&, MEMFLAGS)+0x116c (virtualMemoryTracker.cpp:412)
      V [libjvm.so+0x1694eb4] os::map_memory(int, char const*, unsigned long, char*, unsigned long, bool, bool, MEMFLAGS)+0xb4 (memTracker.hpp:154)
      V [libjvm.so+0xc5ed6c] FileMapInfo::map_heap_region_impl()+0x17c (filemap.cpp:1716)
      V [libjvm.so+0xc5f274] FileMapInfo::map_heap_region()+0x24 (filemap.cpp:2129)
      V [libjvm.so+0xc5f5b4] FileMapInfo::map_or_load_heap_region()+0x64 (filemap.cpp:2019)
      V [libjvm.so+0x154768c] MetaspaceShared::map_archives(FileMapInfo*, FileMapInfo*, bool)+0x69c (metaspaceShared.cpp:1176)
      V [libjvm.so+0x1547aa0] MetaspaceShared::initialize_runtime_shared_and_meta_spaces()+0x300 (metaspaceShared.cpp:936)
      V [libjvm.so+0x1539c08] Metaspace::global_initialize()+0x178 (metaspace.cpp:714)
      V [libjvm.so+0x1c1e498] universe_init()+0x168 (universe.cpp:869)
      V [libjvm.so+0xf60cf0] init_globals()+0x90 (init.cpp:128)
      V [libjvm.so+0x1bd6854] Threads::create_vm(JavaVMInitArgs*, bool*)+0x364 (threads.cpp:553)
      V [libjvm.so+0x114a618] JNI_CreateJavaVM+0x98 (jni.cpp:3580)
      C [libjli.so+0x5e94] JavaMain+0xd4 (java.c:1550)
      C [libjli.so+0xbc38] ThreadJavaMain+0x18 (java_md.c:651)
      C [libpthread.so.0+0xaa68] start_thread+0x108

      Command Line: -Xmx1024m -XX:-ZapUnusedHeapArea -XX:+UseG1GC -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:HeapBaseMinAddress=0 optionsvalidation.JVMStartup

      Observed on several linux platforms.

            Unassigned Unassigned
            mdoerr Martin Doerr
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: