Test java/lang/management/MemoryMXBean/MemoryManagement.java timed out

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • 27
    • Affects Version/s: 26
    • Component/s: core-svc

      Process id: 19412
      [17:34:54.182] Timeout signalled after 6000 seconds
      Timeout information:
      [17:34:54.183] starting timeout handler action(s)
      [17:39:47.329] timeout handler action(s) completed
      --- Timeout information end.

      Initial stack dump seems to show test still running as "normal"


      "AgentVMThread" #31 [58380] prio=5 os_prio=0 cpu=109.38ms elapsed=6013.06s allocated=471K defined_classes=39 tid=0x000001dba1543ff0 nid=58380 in Object.wait() [0x0000004c210fe000]
         java.lang.Thread.State: WAITING (on object monitor)
      Thread: 0x000001dba1543ff0 [0xe40c] State: _at_safepoint _at_poll_safepoint 0
         JavaThread state: _thread_blocked
      at java.lang.Object.wait0(java.base@26-ea/Native Method)
      - waiting on <0x00000000d03431e8> (a MemoryManagement$AllocatorThread)
      at java.lang.Object.wait(java.base@26-ea/Object.java:391)
      at java.lang.Thread.join(java.base@26-ea/Thread.java:1914)
      - locked <0x00000000d03431e8> (a MemoryManagement$AllocatorThread)
      at java.lang.Thread.join(java.base@26-ea/Thread.java:1990)
      at MemoryManagement.main(MemoryManagement.java:161)
      at java.lang.invoke.LambdaForm$DMH/0x0000000004081800.invokeStatic(java.base@26-ea/LambdaForm$DMH)
      at java.lang.invoke.LambdaForm$MH/0x0000000004145800.invoke(java.base@26-ea/LambdaForm$MH)
      at java.lang.invoke.Invokers$Holder.invokeExact_MT(java.base@26-ea/Invokers$Holder)
      at jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(java.base@26-ea/DirectMethodHandleAccessor.java:155)
      at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(java.base@26-ea/DirectMethodHandleAccessor.java:104)
      at java.lang.reflect.Method.invoke(java.base@26-ea/Method.java:565)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
      at java.lang.Thread.runWith(java.base@26-ea/Thread.java:1529)
      at java.lang.Thread.run(java.base@26-ea/Thread.java:1516)

         Locked ownable synchronizers:
      - None

      "Thread-3" #32 [6524] prio=5 os_prio=0 cpu=10453.12ms elapsed=6012.95s allocated=247G defined_classes=0 tid=0x000001dba10ada60 nid=6524 waiting on condition [0x0000004c226ff000]
         java.lang.Thread.State: TIMED_WAITING (sleeping)
      Thread: 0x000001dba10ada60 [0x197c] State: _at_safepoint _at_poll_safepoint 0
         JavaThread state: _thread_blocked
      at java.lang.Thread.sleepNanos0(java.base@26-ea/Native Method)
      at java.lang.Thread.sleepNanos(java.base@26-ea/Thread.java:551)
      at java.lang.Thread.sleep(java.base@26-ea/Thread.java:582)
      at MemoryManagement$AllocatorThread.run(MemoryManagement.java:205)

      Later thread dumps seem to show the test has completed and Thread-3 has terminated.

      Seen on Windows x64

            Assignee:
            Kevin Walls
            Reporter:
            David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: