Missing ResourceMark when stalling for shutdown

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 26
    • Affects Version/s: 26
    • Component/s: hotspot
    • Environment:
    • gc
    • b20

      Test: java/foreign/TestUpcallStress.java

      The test log snippet:

       # A fatal error has been detected by the Java Runtime Environment:
       #
       # Internal Error (src/hotspot/share/memory/resourceArea.cpp:54), pid=2357994, tid=2906501
       # fatal error: memory leak: allocating without ResourceMark
       #
       [4794.416s][warning][gc,alloc] pool-198-thread-15: Stall for VM-Shutdown timed out; allocation may fail with OOME
       # JRE version: OpenJDK Runtime Environment HJDK-0 (26.0) (fastdebug build 26+-9d9c0e06)
       # Java VM: OpenJDK 64-Bit Server VM HJDK-0 (fastdebug 26+-9d9c0e06, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
       # Problematic frame:
       # V [libjvm.so+0x16b6bf0][4794.418s][warning][gc,alloc] pool-456-thread-9: Stall for VM-Shutdown timed out; allocation may fail with OOME
       [4794.418s][warning][gc,alloc] pool-638-thread-15: Stall for VM-Shutdown timed out; allocation may fail with OOME

            Assignee:
            Thomas Schatzl
            Reporter:
            Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: