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

java/net/Socket/ReadTimeout.java timed out

    Details

      Description

      This happened once in Solaris x64 same binaries run
      Please see the time out information below:
      ----------messages:(271/12763)----------
      command: main ReadTimeout
      reason: User specified action: run main/timeout=15 ReadTimeout
      Mode: agentvm
      Agent id: 5
      Timeout signalled after 120 seconds
      Timeout information:
      Running jstack on process 3416
      2017-05-16 11:31:19
      Full thread dump Java HotSpot(TM) 64-Bit Server VM (9-ea+169 mixed mode):

      "Attach Listener" #10371 daemon prio=9 os_prio=64 tid=0x0000000001fb2800 nid=0x28b9 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "SameVMThread" #10370 prio=5 os_prio=64 tid=0x0000000003259800 nid=0x28b8 runnable [0xffff80ff8fcbe000]
         java.lang.Thread.State: RUNNABLE
      at java.net.PlainSocketImpl.socketAccept(java.base@9-ea/Native Method)
      at java.net.AbstractPlainSocketImpl.accept(java.base@9-ea/AbstractPlainSocketImpl.java:459)
      at java.net.ServerSocket.implAccept(java.base@9-ea/ServerSocket.java:551)
      at java.net.ServerSocket.accept(java.base@9-ea/ServerSocket.java:519)
      at ReadTimeout.main(ReadTimeout.java:48)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:563)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:844)

      "server-timer" #91 daemon prio=5 os_prio=64 tid=0x0000000000fd1800 nid=0x94 in Object.wait() [0xffff80ff945fc000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      at java.lang.Object.wait(java.base@9-ea/Native Method)
      - waiting on <no object reference available>
      at java.util.TimerThread.mainLoop(java.base@9-ea/Timer.java:553)
      - waiting to re-lock in wait() <0x00000000e157cae0> (a java.util.TaskQueue)
      at java.util.TimerThread.run(java.base@9-ea/Timer.java:506)

      "pool-1-thread-1" #23 daemon prio=5 os_prio=64 tid=0x0000000000e0d000 nid=0x50 waiting on condition [0xffff80ff97bfc000]
         java.lang.Thread.State: TIMED_WAITING (parking)
      at jdk.internal.misc.Unsafe.park(java.base@9-ea/Native Method)
      - parking to wait for <0x00000000e01fd660> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
      at java.util.concurrent.locks.LockSupport.parkNanos(java.base@9-ea/LockSupport.java:232)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(java.base@9-ea/AbstractQueuedSynchronizer.java:2104)
      at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@9-ea/ScheduledThreadPoolExecutor.java:1131)
      at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@9-ea/ScheduledThreadPoolExecutor.java:848)
      at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@9-ea/ThreadPoolExecutor.java:1086)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-ea/ThreadPoolExecutor.java:1146)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-ea/ThreadPoolExecutor.java:635)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:844)

      "Service Thread" #22 daemon prio=9 os_prio=64 tid=0x0000000000b63800 nid=0x4e runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "Common-Cleaner" #21 daemon prio=8 os_prio=64 tid=0x000000000091f800 nid=0x4d in Object.wait() [0xffff80ff97fbe000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      at java.lang.Object.wait(java.base@9-ea/Native Method)
      - waiting on <no object reference available>
      at java.lang.ref.ReferenceQueue.remove(java.base@9-ea/ReferenceQueue.java:151)
      - waiting to re-lock in wait() <0x00000000e01f34d0> (a java.lang.ref.ReferenceQueue$Lock)
      at jdk.internal.ref.CleanerImpl.run(java.base@9-ea/CleanerImpl.java:148)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:844)
      at jdk.internal.misc.InnocuousThread.run(java.base@9-ea/InnocuousThread.java:122)

      "Sweeper thread" #20 daemon prio=9 os_prio=64 tid=0x00000000008dc800 nid=0x4c runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "C1 CompilerThread14" #19 daemon prio=9 os_prio=64 tid=0x00000000008db000 nid=0x4b waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C1 CompilerThread13" #18 daemon prio=9 os_prio=64 tid=0x00000000008c1000 nid=0x4a waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C1 CompilerThread12" #17 daemon prio=9 os_prio=64 tid=0x00000000008a6800 nid=0x49 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C1 CompilerThread11" #16 daemon prio=9 os_prio=64 tid=0x0000000000899800 nid=0x48 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C1 CompilerThread10" #15 daemon prio=9 os_prio=64 tid=0x0000000000888000 nid=0x47 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread9" #14 daemon prio=9 os_prio=64 tid=0x000000000086d800 nid=0x46 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread8" #13 daemon prio=9 os_prio=64 tid=0x0000000000864000 nid=0x45 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread7" #12 daemon prio=9 os_prio=64 tid=0x0000000000851800 nid=0x44 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread6" #11 daemon prio=9 os_prio=64 tid=0x0000000000847800 nid=0x43 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread5" #10 daemon prio=9 os_prio=64 tid=0x0000000000813800 nid=0x42 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread4" #9 daemon prio=9 os_prio=64 tid=0x0000000000809800 nid=0x41 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread3" #8 daemon prio=9 os_prio=64 tid=0x00000000007fd000 nid=0x40 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread2" #7 daemon prio=9 os_prio=64 tid=0x00000000007fb800 nid=0x3f waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread1" #6 daemon prio=9 os_prio=64 tid=0x00000000007f9000 nid=0x3e waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread0" #5 daemon prio=9 os_prio=64 tid=0x00000000007f7800 nid=0x3d waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "Signal Dispatcher" #4 daemon prio=9 os_prio=64 tid=0x00000000007f3800 nid=0x3c runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "Finalizer" #3 daemon prio=8 os_prio=64 tid=0x00000000007df000 nid=0x3b in Object.wait() [0xffff80ff999fc000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base@9-ea/Native Method)
      - waiting on <no object reference available>
      at java.lang.ref.ReferenceQueue.remove(java.base@9-ea/ReferenceQueue.java:151)
      - waiting to re-lock in wait() <0x00000000e01f48a8> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(java.base@9-ea/ReferenceQueue.java:172)
      at java.lang.ref.Finalizer$FinalizerThread.run(java.base@9-ea/Finalizer.java:216)

      "Reference Handler" #2 daemon prio=10 os_prio=64 tid=0x00000000007ca800 nid=0x3a waiting on condition [0xffff80ff99afd000]
         java.lang.Thread.State: RUNNABLE
      at java.lang.ref.Reference.waitForReferencePendingList(java.base@9-ea/Native Method)
      at java.lang.ref.Reference.processPendingReferences(java.base@9-ea/Reference.java:174)
      at java.lang.ref.Reference.access$000(java.base@9-ea/Reference.java:44)
      at java.lang.ref.Reference$ReferenceHandler.run(java.base@9-ea/Reference.java:138)

      "main" #1 prio=5 os_prio=64 tid=0x0000000000431000 nid=0x2 in Object.wait() [0xffff80ffbf18e000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base@9-ea/Native Method)
      - waiting on <no object reference available>
      at java.lang.Thread.join(java.base@9-ea/Thread.java:1353)
      - waiting to re-lock in wait() <0x00000000fddf0300> (a java.lang.Thread)
      at java.lang.Thread.join(java.base@9-ea/Thread.java:1427)
      at com.sun.javatest.regtest.agent.MainActionHelper.runClass(MainActionHelper.java:133)
      at com.sun.javatest.regtest.agent.AgentServer.doMain(AgentServer.java:238)
      at com.sun.javatest.regtest.agent.AgentServer.run(AgentServer.java:184)
      at com.sun.javatest.regtest.agent.AgentServer.main(AgentServer.java:60)

      "VM Thread" os_prio=64 tid=0x00000000007bf800 nid=0x39 runnable

      "GC Thread#0" os_prio=64 tid=0x0000000000447800 nid=0x3 runnable

      "GC Thread#1" os_prio=64 tid=0x0000000000448800 nid=0x4 runnable

      "GC Thread#2" os_prio=64 tid=0x000000000044a000 nid=0x5 runnable

      "GC Thread#3" os_prio=64 tid=0x000000000044b800 nid=0x6 runnable

      "GC Thread#4" os_prio=64 tid=0x000000000044d000 nid=0x7 runnable

      "GC Thread#5" os_prio=64 tid=0x000000000044e800 nid=0x8 runnable

      "GC Thread#6" os_prio=64 tid=0x0000000000450000 nid=0x9 runnable

      "GC Thread#7" os_prio=64 tid=0x0000000000451800 nid=0xa runnable

      "GC Thread#8" os_prio=64 tid=0x0000000000455800 nid=0xb runnable

      "GC Thread#9" os_prio=64 tid=0x0000000000457000 nid=0xc runnable

      "GC Thread#10" os_prio=64 tid=0x0000000000458800 nid=0xd runnable

      "GC Thread#11" os_prio=64 tid=0x000000000045a000 nid=0xe runnable

      "GC Thread#12" os_prio=64 tid=0x000000000045b800 nid=0xf runnable

      "GC Thread#13" os_prio=64 tid=0x000000000045d000 nid=0x10 runnable

      "GC Thread#14" os_prio=64 tid=0x000000000045e800 nid=0x11 runnable

      "GC Thread#15" os_prio=64 tid=0x0000000000460000 nid=0x12 runnable

      "GC Thread#16" os_prio=64 tid=0x0000000000461800 nid=0x13 runnable

      "GC Thread#17" os_prio=64 tid=0x0000000000463000 nid=0x14 runnable

      "GC Thread#18" os_prio=64 tid=0x0000000000464000 nid=0x15 runnable

      "GC Thread#19" os_prio=64 tid=0x0000000000465800 nid=0x16 runnable

      "GC Thread#20" os_prio=64 tid=0x0000000000467000 nid=0x17 runnable

      "GC Thread#21" os_prio=64 tid=0x0000000000468800 nid=0x18 runnable

      "GC Thread#22" os_prio=64 tid=0x000000000046a000 nid=0x19 runnable

      "G1 Main Marker" os_prio=64 tid=0x00000000004bc000 nid=0x32 runnable

      "G1 Marker#0" os_prio=64 tid=0x00000000004c0000 nid=0x33 runnable

      "G1 Marker#1" os_prio=64 tid=0x00000000004c1800 nid=0x34 runnable

      "G1 Marker#2" os_prio=64 tid=0x00000000004c3000 nid=0x35 runnable

      "G1 Marker#3" os_prio=64 tid=0x00000000004c4800 nid=0x36 runnable

      "G1 Marker#4" os_prio=64 tid=0x00000000004c6000 nid=0x37 runnable

      "G1 Marker#5" os_prio=64 tid=0x00000000004c7800 nid=0x38 runnable

      "G1 Refine#0" os_prio=64 tid=0x0000000000490000 nid=0x30 runnable

      "G1 Refine#1" os_prio=64 tid=0x000000000048e000 nid=0x2f runnable

      "G1 Refine#2" os_prio=64 tid=0x000000000048c800 nid=0x2e runnable

      "G1 Refine#3" os_prio=64 tid=0x000000000048b000 nid=0x2d runnable

      "G1 Refine#4" os_prio=64 tid=0x0000000000489800 nid=0x2c runnable

      "G1 Refine#5" os_prio=64 tid=0x0000000000488000 nid=0x2b runnable

      "G1 Refine#6" os_prio=64 tid=0x0000000000486000 nid=0x2a runnable

      "G1 Refine#7" os_prio=64 tid=0x0000000000484800 nid=0x29 runnable

      "G1 Refine#8" os_prio=64 tid=0x0000000000483000 nid=0x28 runnable

      "G1 Refine#9" os_prio=64 tid=0x0000000000481800 nid=0x27 runnable

      "G1 Refine#10" os_prio=64 tid=0x0000000000480000 nid=0x26 runnable

      "G1 Refine#11" os_prio=64 tid=0x000000000047e000 nid=0x25 runnable

      "G1 Refine#12" os_prio=64 tid=0x000000000047c800 nid=0x24 runnable

      "G1 Refine#13" os_prio=64 tid=0x000000000047b000 nid=0x23 runnable

      "G1 Refine#14" os_prio=64 tid=0x0000000000479800 nid=0x22 runnable

      "G1 Refine#15" os_prio=64 tid=0x0000000000478000 nid=0x21 runnable

      "G1 Refine#16" os_prio=64 tid=0x0000000000476000 nid=0x20 runnable

      "G1 Refine#17" os_prio=64 tid=0x0000000000474800 nid=0x1f runnable

      "G1 Refine#18" os_prio=64 tid=0x0000000000473000 nid=0x1e runnable

      "G1 Refine#19" os_prio=64 tid=0x0000000000471800 nid=0x1d runnable

      "G1 Refine#20" os_prio=64 tid=0x000000000046f800 nid=0x1c runnable

      "G1 Refine#21" os_prio=64 tid=0x000000000046e000 nid=0x1b runnable

      "G1 Refine#22" os_prio=64 tid=0x000000000046c800 nid=0x1a runnable

      "G1 Young RemSet Sampling" os_prio=64 tid=0x0000000000491800 nid=0x31 runnable

      "VM Periodic Task Thread" os_prio=64 tid=0x0000000000b61000 nid=0x4f waiting on condition

      JNI global references: 1735

      --- Timeout information end.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            xiaofeya Felix Yang
            Reporter:
            xiaofeya Felix Yang
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: