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

Missing ResourceMark when stalling for shutdown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 26
    • 26
    • hotspot
    • 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

            tschatzl Thomas Schatzl
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: