Test java/lang/ThreadLocal/MemoryLeak.java timed-out then completed in Xcomp mode

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 26
    • Component/s: core-libs
    • x86_64
    • windows

      JavaTest Message: Test complete.

      result: Error. "main" action timed out with a timeout of 1920 seconds on agent 111; but completed after timeout - suppressed status: "Passed. Execution successful"

      Initial threaddump shows the test still running:

      "AgentVMThread" #161 [20224] prio=5 os_prio=0 cpu=1891890.62ms elapsed=1933.23s allocated=50176K defined_classes=0 tid=0x000002155f37da30 nid=20224 runnable [0x00000015d58fe000]
         java.lang.Thread.State: RUNNABLE
      Thread: 0x000002155f37da30 [0x4f00] State: _at_safepoint _at_poll_safepoint 0
         JavaThread state: _thread_blocked
      at java.lang.ref.Reference.refersTo0(java.base@26-ea/Native Method)
      at java.lang.ref.Reference.refersToImpl(java.base@26-ea/Reference.java:375)
      at java.lang.ref.Reference.refersTo(java.base@26-ea/Reference.java:366)
      at java.lang.ThreadLocal$ThreadLocalMap.set(java.base@26-ea/ThreadLocal.java:544)
      at java.lang.ThreadLocal.set(java.base@26-ea/ThreadLocal.java:243)
      at java.lang.ThreadLocal.set(java.base@26-ea/ThreadLocal.java:229)
      at MemoryLeak.main(MemoryLeak.java:35)
      at java.lang.invoke.LambdaForm$DMH/0x0000000039081800.invokeStatic(java.base@26-ea/LambdaForm$DMH)
      at java.lang.invoke.LambdaForm$MH/0x0000000039235400.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:1487)
      at java.lang.Thread.run(java.base@26-ea/Thread.java:1474)

      But it is in Xcomp mode.

       -Dtest.timeout.factor=16.0

            Assignee:
            Brent Christian
            Reporter:
            David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: