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

com/sun/jdi/ThreadMemoryLeakTest.java with Zgc enabled fails with java.lang.OutOfMemoryError: Java heap space

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 22
    • core-svc
    • x86_64
    • linux_oracle

       SBR JDK22 b27 Zgc enabled test run

      log extract

      ----------messages:(9/369)----------
      command: main -Xmx7m ThreadMemoryLeakTest
      reason: User specified action: run main/othervm -Xmx7m ThreadMemoryLeakTest
      started: Fri Dec 29 23:44:18 UTC 2023
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules jdk.jdi
      Timeout information:
      --- Timeout information end.
      finished: Sat Dec 30 00:00:02 UTC 2023
      elapsed time (seconds): 943.592
      ----------configuration:(3/35)----------
      Boot Layer
        add modules: jdk.jdi

      ----------System.out:(80/1956)----------
      vmOpts: '-Xmx768m -XX:MaxRAMPercentage=0.78125 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/21/35/bundles/linux-x64/jdk-21_linux-x64_bin.tar.gz/jdk-21 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S23541/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b22f8d8d-719c-465b-a9e7-cbc1a50cdc63/runs/a8c08bab-b364-4ed9-8f24-a19f27c51cd0/testoutput/test-support/jtreg_open_test_jdk_tier3/tmp -ea -esa'
      javaOpts: '-XX:+UseZGC -XX:+ZGenerational'
      JVM version:22-ea
      JDI version: 22.0
      JVM description: Java Debug Interface (Reference Implementation) version 22.0
      Java Debug Wire Protocol (Reference Implementation) version 22.0
      JVM Debug Interface version 22.0
      JVM version 22-ea (Java HotSpot(TM) 64-Bit Server VM, mixed mode, sharing)
      Howdy!
      Progress: 1000
      Progress: 2000
      Progress: 3000
      Progress: 4000
      Progress: 5000
      Progress: 6000
      Progress: 7000
      Progress: 8000
      Progress: 9000
      Progress: 10000
      Progress: 11000
      Progress: 12000
      Progress: 13000
      Progress: 14000
      Progress: 15000
      Progress: 16000
      Progress: 17000
      Progress: 18000
      Progress: 19000
      Progress: 20000
      Progress: 21000
      Progress: 22000
      Progress: 23000
      Progress: 24000
      Progress: 25000
      Progress: 26000
      Progress: 27000
      Progress: 28000
      Progress: 29000
      Progress: 30000
      Progress: 31000
      Progress: 32000
      Progress: 33000
      Progress: 34000
      Progress: 35000
      Progress: 36000
      Progress: 37000
      Progress: 38000
      Progress: 39000
      Progress: 40000
      Progress: 41000
      Progress: 42000
      Progress: 43000
      Progress: 44000
      Progress: 45000
      Progress: 46000
      Progress: 47000
      Progress: 48000
      Progress: 49000
      Progress: 50000
      Progress: 51000
      Progress: 52000
      Progress: 53000
      Progress: 54000
      Progress: 55000
      Progress: 56000
      Progress: 57000
      Progress: 58000
      Progress: 59000
      Progress: 60000
      Progress: 61000
      Progress: 62000
      Progress: 63000
      Progress: 64000
      Progress: 65000
      Progress: 66000
      Progress: 67000
      Progress: 68000
      Progress: 69000
      Progress: 70000
      Timeout signalled after 480 seconds
      ----------System.err:(8/505)----------
      [30ms] run args: [ThreadMemoryLeakTarg]
      Exception in thread "JDI Target VM Interface" java.lang.OutOfMemoryError: Java heap space
      at java.base/java.net.Socket$SocketInputStream.read(Socket.java:1088)
      at jdk.jdi/com.sun.tools.jdi.SocketConnection.readPacket(SocketConnection.java:85)
      at jdk.jdi/com.sun.tools.jdi.TargetVM.run(TargetVM.java:123)
      at java.base/java.lang.Thread.runWith(Thread.java:1583)
      at java.base/java.lang.Thread.run(Thread.java:1570)
      [1583ms] Got ThreadStartEvent #1000 threads:414
      ----------rerun:(41/5794)*----------

            cjplummer Chris Plummer
            msheppar Mark Sheppard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: