-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
None
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)
"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)
- relates to
-
JDK-8222938 Investigate which networking tests bind to the wildcard address, and whether they could be changed to bind to the loopback instead.
- Resolved