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

NMT fails with MallocLimit: reached category "mtCompiler" limit

XMLWordPrintable

    • In Review

      runtime/NMT/MallocLimitTest.java#compiler-limit-fatal failed once with

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (\workspace\open\src\hotspot\share\nmt\mallocTracker.cpp:149), pid=19972, tid=7264
      # fatal error: MallocLimit: reached category "mtCompiler" limit (triggering allocation size: 1976B, allocated so far: 1250K, limit: 1234K)
      #
      # JRE version: Java(TM) SE Runtime Environment (26.0+14) (fastdebug build 26-ea+14-1439)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 26-ea+14-1439, compiled mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
      # Problematic frame:
      # V [jvm.dll+0xce1cfe] MallocMemorySummary::category_limit_reached+0x1be

      Current CompileTask:
      C2:239 9 !b 4 java.lang.Class::desiredAssertionStatus (54 bytes)

      Stack: [0x0000007327000000,0x0000007327100000], sp=0x00000073270fb310, free space=1004k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0xce1cfe] MallocMemorySummary::category_limit_reached+0x1be (mallocTracker.cpp:149)
      V [jvm.dll+0x2c2dfb] Arena::grow+0x10b (arena.cpp:324)
      V [jvm.dll+0x6fcc81] PhaseIdealLoop::Dominators+0x6a1 (domgraph.cpp:530)
      V [jvm.dll+0xc4b812] PhaseIdealLoop::build_and_optimize+0x4e2 (loopnode.cpp:5045)
      V [jvm.dll+0x5d639d] PhaseIdealLoop::verify+0x17d (loopnode.hpp:1275)
      V [jvm.dll+0x5d1a7e] Compile::process_for_post_loop_opts_igvn+0x1e (compile.cpp:1871)
      V [jvm.dll+0x5c1db7] Compile::Optimize+0xcf7 (compile.cpp:2513)
      V [jvm.dll+0x5be931] Compile::Compile+0x10e1 (compile.cpp:860)
      V [jvm.dll+0x4c12f9] C2Compiler::compile_method+0x179 (c2compiler.cpp:150)
      V [jvm.dll+0x5dcc4e] CompileBroker::invoke_compiler_on_method+0x7ae (compileBroker.cpp:2342)
      V [jvm.dll+0x5da0bc] CompileBroker::compiler_thread_loop+0x28c (compileBroker.cpp:1987)
      V [jvm.dll+0x92fe28] JavaThread::thread_main_inner+0x288 (javaThread.cpp:776)
      V [jvm.dll+0x104e362] Thread::call_run+0x1b2 (thread.cpp:248)
      V [jvm.dll+0xdf48b1] thread_native_entry+0xe1 (os_windows.cpp:562)
      C [ucrtbase.dll+0x26b4c] (no source info available)
      C [KERNEL32.DLL+0x14cb0] (no source info available)
      C [ntdll.dll+0x7edcb] (no source info available)

            azafari Afshin Zafari
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: