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

[windows] runtime/cds/SharedBaseAddress.java: assert on split_reserved_memory

XMLWordPrintable

      When trying to split a memory reservation this assertion is hit:
      # Internal Error (t:/workspace/open/src/hotspot/os/windows/os_windows.cpp:3221), pid=673620, tid=1168692
      # assert(false) failed: os::split_reserved_memory failed for [[0x000001e30f000000-0x000001e350000000))
      #

      This happens when running the test:
      runtime/cds/SharedBaseAddress.java

      Stacktrace:
      Current thread (0x000001e36a1b95f0): JavaThread "Unknown thread" [_thread_in_vm, id=1168692, stack(0x0000004248300000,0x0000004248400000)]

      Stack: [0x0000004248300000,0x0000004248400000]
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0xadf471] os::platform_print_native_stack+0xf1 (os_windows_x86.cpp:236)
      V [jvm.dll+0xd06067] VMError::report+0xfb7 (vmError.cpp:731)
      V [jvm.dll+0xd0798e] VMError::report_and_die+0x7de (vmError.cpp:1537)
      V [jvm.dll+0xd080a4] VMError::report_and_die+0x64 (vmError.cpp:1328)
      V [jvm.dll+0x4ba787] report_vm_error+0x117 (debug.cpp:267)
      V [jvm.dll+0xadd84c] os::split_reserved_memory+0x1fc (os_windows.cpp:3220)
      V [jvm.dll+0xd0187e] ReservedSpace::first_part+0x6e (virtualspace.cpp:260)
      V [jvm.dll+0xa557b6] MetaspaceShared::reserve_address_space_for_archives+0x4b6 (metaspaceShared.cpp:1636)
      V [jvm.dll+0xa534d1] MetaspaceShared::map_archives+0x141 (metaspaceShared.cpp:1367)
      V [jvm.dll+0xa52b40] MetaspaceShared::initialize_runtime_shared_and_meta_spaces+0x1b0 (metaspaceShared.cpp:1282)
      V [jvm.dll+0xa4be17] Metaspace::global_initialize+0x57 (metaspace.cpp:684)
      V [jvm.dll+0xcbcae9] universe_init+0x149 (universe.cpp:745)
      V [jvm.dll+0x669081] init_globals+0x31 (init.cpp:119)
      V [jvm.dll+0xc8c866] Threads::create_vm+0x626 (thread.cpp:3567)
      V [jvm.dll+0x746232] JNI_CreateJavaVM_inner+0xb2 (jni.cpp:3765)
      V [jvm.dll+0x7491ff] JNI_CreateJavaVM+0x1f (jni.cpp:3848)
      C [jli.dll+0x53ef] JavaMain+0x113 (java.c:416)
      C [ucrtbase.dll+0x21ffa]
      C [KERNEL32.DLL+0x17974]
      C [ntdll.dll+0x6a271]

            minqi Yumin Qi
            sjohanss Stefan Johansson
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: