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

Test MemoryEaterMT.java intermittent timeout with TEST_THREAD_FACTORY=Virtual

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 21, 24
    • hotspot
    • None
    • aarch64
    • linux

      The test vmTestbase/gc/gctests/MemoryEaterMT/MemoryEaterMT.java intermittent timed out signalled after 480 seconds run with TEST_THREAD_FACTORY=Virtual on linux-aarch64. Failure probability: 983/1k, The test log snippet:

      "VirtualThread-unblocker" #36 [174025] daemon prio=5 os_prio=0 cpu=0.09ms elapsed=480.13s tid=0x0000ffff801facd0 nid=174025 runnable [0x0000ffff2d9ee000]
         java.lang.Thread.State: RUNNABLE
          at java.lang.VirtualThread.takeVirtualThreadListToUnblock(java.base@24-internal/Native Method)
          at java.lang.VirtualThread.unblockVirtualThreads(java.base@24-internal/VirtualThread.java:1481)
          at java.lang.VirtualThread$$Lambda/0x00000020010491e0.run(java.base@24-internal/Unknown Source)
          at java.lang.Thread.runWith(java.base@24-internal/Thread.java:1460)
          at java.lang.Thread.run(java.base@24-internal/Thread.java:1447)
          at jdk.internal.misc.InnocuousThread.run(java.base@24-internal/InnocuousThread.java:149)

      "VirtualThread-unparker" #39 [174027] daemon prio=5 os_prio=0 cpu=4.32ms elapsed=480.12s tid=0x0000fffed4019c40 nid=174027 waiting on condition [0x0000ffff2d5ef000]
         java.lang.Thread.State: WAITING (parking)
          at jdk.internal.misc.Unsafe.park(java.base@24-internal/Native Method)
          - parking to wait for <0x00000000a3003bc0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
          at java.util.concurrent.locks.LockSupport.park(java.base@24-internal/LockSupport.java:369)
          at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(java.base@24-internal/AbstractQueuedSynchronizer.java:519)
          at java.util.concurrent.ForkJoinPool.unmanagedBlock(java.base@24-internal/ForkJoinPool.java:3946)
          at java.util.concurrent.ForkJoinPool.managedBlock(java.base@24-internal/ForkJoinPool.java:3892)
          at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@24-internal/AbstractQueuedSynchronizer.java:1751)
          at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@24-internal/ScheduledThreadPoolExecutor.java:1154)
          at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@24-internal/ScheduledThreadPoolExecutor.java:883)
          at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@24-internal/ThreadPoolExecutor.java:1021)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@24-internal/ThreadPoolExecutor.java:1081)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@24-internal/ThreadPoolExecutor.java:619)
          at java.lang.Thread.runWith(java.base@24-internal/Thread.java:1460)
          at java.lang.Thread.run(java.base@24-internal/Thread.java:1447)
          at jdk.internal.misc.InnocuousThread.run(java.base@24-internal/InnocuousThread.java:149)

        1. jt-work.tar.xz
          4.54 MB
          Sendao Yan
        2. MemoryEaterMT.java.log
          60 kB
          Sendao Yan

            Unassigned Unassigned
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: