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

MonitorVmStartTerminate.java intermittent timeout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 24
    • core-svc
    • None
    • x86_64
    • linux

      Test sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java intermittent timeout

      Test log snippet:
      "MainThread" #31 [3409322] prio=5 os_prio=0 cpu=50.63ms elapsed=480.08s tid=0x00007f25241f3b10 nid=3409322 waiting on condition [0x00007f24e43cf000]
         java.lang.Thread.State: WAITING (parking)
      at jdk.internal.misc.Unsafe.park(java.base@24/Native Method)
      - parking to wait for <0x00000000a00018a8> (a java.util.concurrent.Semaphore$NonfairSync)
      at java.util.concurrent.locks.LockSupport.park(java.base@24/LockSupport.java:223)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(java.base@24/AbstractQueuedSynchronizer.java:755)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(java.base@24/AbstractQueuedSynchronizer.java:1104)
      at java.util.concurrent.Semaphore.acquire(java.base@24/Semaphore.java:475)
      at MonitorVmStartTerminate.main(MonitorVmStartTerminate.java:99)
      at java.lang.invoke.LambdaForm$DMH/0x00007f248f002000.invokeStatic(java.base@24/LambdaForm$DMH)
      at java.lang.invoke.LambdaForm$MH/0x00007f248f003400.invoke(java.base@24/LambdaForm$MH)
      at java.lang.invoke.Invokers$Holder.invokeExact_MT(java.base@24/Invokers$Holder)
      at jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(java.base@24/DirectMethodHandleAccessor.java:154)
      at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(java.base@24/DirectMethodHandleAccessor.java:103)
      at java.lang.reflect.Method.invoke(java.base@24/Method.java:573)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.lang.Thread.runWith(java.base@24/Thread.java:1588)
      at java.lang.Thread.run(java.base@24/Thread.java:1575)

      "Timer-0" #42 [3409354] daemon prio=5 os_prio=0 cpu=143457.65ms elapsed=480.01s tid=0x00007f243801a100 nid=3409354 waiting on condition [0x00007f24e42ce000]
         java.lang.Thread.State: TIMED_WAITING (sleeping)
      at java.lang.Thread.sleepNanos0(java.base@24/Native Method)
      at java.lang.Thread.sleepNanos(java.base@24/Thread.java:496)
      at java.lang.Thread.sleep(java.base@24/Thread.java:527)
      at MonitorVmStartTerminate.takeNap(MonitorVmStartTerminate.java:343)
      at MonitorVmStartTerminate$Listener.hasMainArgs(MonitorVmStartTerminate.java:197)
      at MonitorVmStartTerminate$Listener.releaseStarted(MonitorVmStartTerminate.java:150)
      at MonitorVmStartTerminate$Listener.releaseStarted(MonitorVmStartTerminate.java:144)
      at MonitorVmStartTerminate$Listener.vmStatusChanged(MonitorVmStartTerminate.java:126)
      at sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.fireVmStatusChangedEvents(jdk.internal.jvmstat@24/MonitoredHostProvider.java:177)
      at sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider$NotifierTask.run(jdk.internal.jvmstat@24/MonitoredHostProvider.java:215)
      at java.util.TimerThread.mainLoop(java.base@24/Timer.java:572)
      at java.util.TimerThread.run(java.base@24/Timer.java:522)

      "Thread-12" #43 [3409355] prio=5 os_prio=0 cpu=14.00ms elapsed=480.01s tid=0x00007f243801b940 nid=3409355 waiting on condition [0x00007f24e41cd000]
         java.lang.Thread.State: WAITING (parking)
      at jdk.internal.misc.Unsafe.park(java.base@24/Native Method)
      - parking to wait for <0x00000000a00020d8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
      at java.util.concurrent.locks.LockSupport.park(java.base@24/LockSupport.java:369)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(java.base@24/AbstractQueuedSynchronizer.java:519)
      at java.util.concurrent.ForkJoinPool.unmanagedBlock(java.base@24/ForkJoinPool.java:4021)
      at java.util.concurrent.ForkJoinPool.managedBlock(java.base@24/ForkJoinPool.java:3967)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@24/AbstractQueuedSynchronizer.java:1717)
      at java.lang.ProcessImpl.waitFor(java.base@24/ProcessImpl.java:425)
      at jdk.test.lib.process.OutputBuffer$LazyOutputBuffer.waitFor(OutputBuffer.java:162)
      at jdk.test.lib.process.OutputAnalyzer.waitFor(OutputAnalyzer.java:116)
      at jdk.test.lib.process.ProcessTools.executeProcess(ProcessTools.java:730)
      at jdk.test.lib.process.ProcessTools.executeProcess(ProcessTools.java:698)
      at jdk.test.lib.process.ProcessTools.executeProcess(ProcessTools.java:685)
      at MonitorVmStartTerminate$JavaProcess.executeJava(MonitorVmStartTerminate.java:329)
      at MonitorVmStartTerminate$JavaProcess$1.run(MonitorVmStartTerminate.java:298)
      at java.lang.Thread.runWith(java.base@24/Thread.java:1588)
      at java.lang.Thread.run(java.base@24/Thread.java:1575)


      hasMainArgs(3407738): sun.jvmstat.monitor.MonitorException: Could not attach to 3407738
      releaseStarted: not a test pid: 3407738

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

              Created:
              Updated: