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

java/lang/Thread/virtual/stress/Skynet.java timed out with OutOfMemoryError with -XX:TieredStopAtLevel=3

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • tbd
    • 20.0.1, 21
    • core-libs

      Test:
      java/lang/Thread/virtual/stress/Skynet.java#id0
      java/lang/Thread/virtual/stress/Skynet.java#id1

      OS: linux-aarch64-debug,linux-aarch64
      Where: 20.0.1+7
      Is it a regression: No, Its an intermittent issue
      vm options: "-XX:+CreateCoredumpOnCrash -XX:TieredStopAtLevel=3"
      Log:

      ----------System.out:(1233/74746)----------
      Result: 499999500000 in 13523 ms
      Timeout refired 2400 times
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      Exception in VM (AttachListener::init) :
      java.lang.OutOfMemoryError: Java heap space
      2023-03-02 06:50:28
      Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.0.1+7-27 mixed mode, sharing):

      Threads class SMR info:
      _java_thread_list=0x0000fffd78000b60, length=10, elements={
      0x0000fffde802c010, 0x0000fffde8209af0, 0x0000fffde820b050, 0x0000fffde820ca80,
      0x0000fffde820df30, 0x0000fffde820f3d0, 0x0000fffde8210960, 0x0000fffde8237890,
      0x0000fffde823cab0, 0x0000fffde8271d50
      }

      "main" #1 [277847] prio=5 os_prio=0 cpu=30.21ms elapsed=2523.99s tid=0x0000fffde802c010 nid=277847 in Object.wait() [0x0000fffdeec7e000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait0(java.base@20.0.1/Native Method)
      - waiting on <0x00000000c00010c8> (a java.lang.Thread)
      at java.lang.Object.wait(java.base@20.0.1/Object.java:366)
      at java.lang.Thread.join(java.base@20.0.1/Thread.java:2115)
      - locked <0x00000000c00010c8> (a java.lang.Thread)
      at java.lang.Thread.join(java.base@20.0.1/Thread.java:2191)
      at com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:72)

            alanb Alan Bateman
            pchawdhary PAWAN CHAWDHARY
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: