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

(sc) java/nio/channels/SocketChannel/ShortWrite.java fails in timeout (blocked in accept)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-libs

      Description

      The test java/nio/channels/SocketChannel/ShortWrite.java has been observed failing in timeout. The stack trace indicates that the main thread is blocked in accept:


      "AgentVMThread" #1710 prio=5 os_prio=31 cpu=0.68ms elapsed=490.55s allocated=5504B defined_classes=2 tid=0x00007f7fb6aae800 nid=0x9743 runnable [0x000070000c615000]
         java.lang.Thread.State: RUNNABLE
      at sun.nio.ch.Net.accept(java.base@16.0.1/Native Method)
      at sun.nio.ch.ServerSocketChannelImpl.implAccept(java.base@16.0.1/ServerSocketChannelImpl.java:424)
      at sun.nio.ch.ServerSocketChannelImpl.accept(java.base@16.0.1/ServerSocketChannelImpl.java:390)
      at ShortWrite.main(ShortWrite.java:158)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@16.0.1/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@16.0.1/NativeMethodAccessorImpl.java:78)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@16.0.1/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@16.0.1/Method.java:567)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.lang.Thread.run(java.base@16.0.1/Thread.java:831)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michaelm Michael McMahon
              Reporter:
              dfuchs Daniel Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: