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

sun/net/www/protocol/http/B6369510.java timed out

    Details

      Description

      This happened once in 9 b129 same binaries run on Solaris 11 X64.
      Test output below:
      ----------messages:(284/13523)----------
      command: main B6369510
      reason: User specified action: run main/othervm B6369510
      Mode: othervm [/othervm specified]
      Timeout information:
      Running jstack on process 61804
      2016-08-07 13:57:31
      Full thread dump Java HotSpot(TM) 64-Bit Server VM (9-ea+129 mixed mode):

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

      "HTTP-Dispatcher" #28 prio=5 os_prio=64 tid=0x0000000000ca6000 nid=0x53 runnable [0xffff80ffaa7fe000]
         java.lang.Thread.State: RUNNABLE
      at sun.nio.ch.DevPollArrayWrapper.poll0(java.base@9-ea/Native Method)
      at sun.nio.ch.DevPollArrayWrapper.poll(java.base@9-ea/DevPollArrayWrapper.java:223)
      at sun.nio.ch.DevPollSelectorImpl.doSelect(java.base@9-ea/DevPollSelectorImpl.java:97)
      at sun.nio.ch.SelectorImpl.lockAndDoSelect(java.base@9-ea/SelectorImpl.java:86)
      - locked <0x00000000ffad72b0> (a sun.nio.ch.Util$2)
      - locked <0x00000000ffad7220> (a java.util.Collections$UnmodifiableSet)
      - locked <0x00000000ffad6f20> (a sun.nio.ch.DevPollSelectorImpl)
      at sun.nio.ch.SelectorImpl.select(java.base@9-ea/SelectorImpl.java:97)
      at sun.net.httpserver.ServerImpl$Dispatcher.run(jdk.httpserver@9-ea/ServerImpl.java:361)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:843)

      "server-timer" #27 daemon prio=5 os_prio=64 tid=0x0000000000c61000 nid=0x52 in Object.wait() [0xffff80ffaa9fc000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      at java.lang.Object.wait(java.base@9-ea/Native Method)
      - waiting on <0x00000000ffae8508> (a java.util.TaskQueue)
      at java.util.TimerThread.mainLoop(java.base@9-ea/Timer.java:552)
      - waiting to re-lock in wait() <0x00000000ffae8508> (a java.util.TaskQueue)
      at java.util.TimerThread.run(java.base@9-ea/Timer.java:505)

      "MainThread" #25 prio=5 os_prio=64 tid=0x0000000000c28000 nid=0x51 runnable [0xffff80ffaaafc000]
         java.lang.Thread.State: RUNNABLE
      at java.net.SocketInputStream.socketRead0(java.base@9-ea/Native Method)
      at java.net.SocketInputStream.socketRead(java.base@9-ea/SocketInputStream.java:116)
      at java.net.SocketInputStream.read(java.base@9-ea/SocketInputStream.java:170)
      at java.net.SocketInputStream.read(java.base@9-ea/SocketInputStream.java:141)
      at java.io.BufferedInputStream.fill(java.base@9-ea/BufferedInputStream.java:246)
      at java.io.BufferedInputStream.read1(java.base@9-ea/BufferedInputStream.java:286)
      at java.io.BufferedInputStream.read(java.base@9-ea/BufferedInputStream.java:345)
      - locked <0x00000000ff7eb120> (a java.io.BufferedInputStream)
      at sun.net.www.http.HttpClient.parseHTTPHeader(java.base@9-ea/HttpClient.java:704)
      at sun.net.www.http.HttpClient.parseHTTP(java.base@9-ea/HttpClient.java:647)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(java.base@9-ea/HttpURLConnection.java:1528)
      - locked <0x00000000ff7da400> (a sun.net.www.protocol.http.HttpURLConnection)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(java.base@9-ea/HttpURLConnection.java:1433)
      - locked <0x00000000ff7da400> (a sun.net.www.protocol.http.HttpURLConnection)
      at java.net.HttpURLConnection.getResponseCode(java.base@9-ea/HttpURLConnection.java:480)
      at B6369510.doClient(B6369510.java:68)
      at B6369510.<init>(B6369510.java:53)
      at B6369510.main(B6369510.java:46)
      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:533)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:843)

      "Service Thread" #23 daemon prio=9 os_prio=64 tid=0x0000000000aa8000 nid=0x4f runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "Common-Cleaner" #22 daemon prio=8 os_prio=64 tid=0x000000000093f800 nid=0x4e in Object.wait() [0xffff80ffaadbe000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      at java.lang.Object.wait(java.base@9-ea/Native Method)
      - waiting on <0x00000000fff48a50> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(java.base@9-ea/ReferenceQueue.java:151)
      - waiting to re-lock in wait() <0x00000000fff48a50> (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:843)
      at jdk.internal.misc.InnocuousThread.run(java.base@9-ea/InnocuousThread.java:122)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      "Reference Pending List Locker" #4 daemon prio=9 os_prio=64 tid=0x00000000007ef800 nid=0x3c waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "Finalizer" #3 daemon prio=8 os_prio=64 tid=0x00000000007c1800 nid=0x3b in Object.wait() [0xffff80ffac9fc000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base@9-ea/Native Method)
      - waiting on <0x00000000fff0d560> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(java.base@9-ea/ReferenceQueue.java:151)
      - waiting to re-lock in wait() <0x00000000fff0d560> (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=0x00000000007be000 nid=0x3a in Object.wait() [0xffff80ffacafd000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base@9-ea/Native Method)
      - waiting on <0x00000000fff092b8> (a java.lang.ref.Reference$Lock)
      at java.lang.Object.wait(java.base@9-ea/Object.java:516)
      at java.lang.ref.Reference.tryHandlePending(java.base@9-ea/Reference.java:193)
      - waiting to re-lock in wait() <0x00000000fff092b8> (a java.lang.ref.Reference$Lock)
      at java.lang.ref.Reference$ReferenceHandler.run(java.base@9-ea/Reference.java:155)

      "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 <0x00000000ffb763a0> (a java.lang.Thread)
      at java.lang.Thread.join(java.base@9-ea/Thread.java:1352)
      - waiting to re-lock in wait() <0x00000000ffb763a0> (a java.lang.Thread)
      at java.lang.Thread.join(java.base@9-ea/Thread.java:1426)
      at com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:74)

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

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

      "GC Thread#1" os_prio=64 tid=0x0000000000449000 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=0x0000000000454000 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=0x0000000000461000 nid=0x13 runnable

      "GC Thread#17" os_prio=64 tid=0x0000000000462800 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=0x00000000004be000 nid=0x32 runnable

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

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

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

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

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

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

      "G1 Refine#0" os_prio=64 tid=0x000000000048f800 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=0x0000000000487800 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=0x000000000047f800 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=0x0000000000479000 nid=0x22 runnable

      "G1 Refine#15" os_prio=64 tid=0x0000000000477800 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=0x0000000000471000 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=0x0000000000491000 nid=0x31 runnable

      "VM Periodic Task Thread" os_prio=64 tid=0x0000000000ac8000 nid=0x50 waiting on condition

      JNI global references: 538

      --- Timeout information end.
      elapsed time (seconds): 961.018

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated: