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

NMT overwrite memory type for region assert when building dynamic archive

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b17

      Description

      runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesAsCollectorTest.java
       failed with the following assert/stack trace:

      #
      # Internal Error (t:/workspace/open/src/hotspot/share/services/virtualMemoryTracker.cpp:294), pid=33384, tid=3192
      # assert((flag() == mtNone || flag() == f)) failed: Overwrite memory type for region [0x000000a41cf40000-0x000000a41d040000), 3->23.
      #

      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0xa60a51] os::platform_print_native_stack+0xf1 (os_windows_x86.cpp:236)
      V [jvm.dll+0xc7ee37] VMError::report+0xf97 (vmError.cpp:732)
      V [jvm.dll+0xc806ee] VMError::report_and_die+0x7de (vmError.cpp:1548)
      V [jvm.dll+0xc80da4] VMError::report_and_die+0x64 (vmError.cpp:1341)
      V [jvm.dll+0x440ee7] report_vm_error+0x117 (debug.cpp:264)
      V [jvm.dll+0xc75c06] ReservedMemoryRegion::set_flag+0x66 (virtualMemoryTracker.cpp:292)
      V [jvm.dll+0xc7433b] VirtualMemoryTracker::add_reserved_region+0x21b (virtualMemoryTracker.cpp:353)
      V [jvm.dll+0xa51801] MemTracker::record_virtual_memory_reserve+0xa1 (memTracker.hpp:219)
      V [jvm.dll+0xa51c39] os::reserve_memory+0x189 (os.cpp:1673)
      V [jvm.dll+0xc7a8d1] ReservedSpace::initialize+0x351 (virtualspace.cpp:196)
      V [jvm.dll+0xc79cc6] ReservedSpace::ReservedSpace+0xa6 (virtualspace.cpp:62)
      V [jvm.dll+0x4bdbf2] DynamicArchiveBuilder::doit+0x162 (dynamicArchive.cpp:208)
      V [jvm.dll+0x4be42f] VM_PopulateDynamicDumpSharedSpace::doit+0x5f (dynamicArchive.cpp:656)
      V [jvm.dll+0xc81fb9] VM_Operation::evaluate+0xb9 (vmOperations.cpp:68)
      V [jvm.dll+0xc87215] VMThread::evaluate_operation+0xa5 (vmThread.cpp:359)
      V [jvm.dll+0xc87b50] VMThread::loop+0x3c0 (vmThread.cpp:484)
      V [jvm.dll+0xc87f6c] VMThread::run+0xdc (vmThread.cpp:255)
      V [jvm.dll+0xc10284] Thread::call_run+0x1b4 (thread.cpp:400)
      V [jvm.dll+0xa5f44e] thread_native_entry+0x10e (os_windows.cpp:463)
      C [ucrtbase.DLL+0x1d912]

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              zgu Zhengyu Gu
              Reporter:
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: