8003253: TEST_BUG: java/nio/channels/AsynchronousChannelGroup/Unbounded.java hang intermittently [win] (original) (raw)
Chris Hegarty chris.hegarty at oracle.com
Sun Nov 11 01:22:37 PST 2012
- Previous message: 8003253: TEST_BUG: java/nio/channels/AsynchronousChannelGroup/Unbounded.java hang intermittently [win]
- Next message: 8003253: TEST_BUG: java/nio/channels/AsynchronousChannelGroup/Unbounded.java hang intermittently [win]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I've noticed this failure too, thanks for fixing it. Changes look fine to me.
-Chris
On 10 Nov 2012, at 22:07, Alan Bateman <Alan.Bateman at oracle.com> wrote:
There have been a couple of reports of this test hanging on Windows. The test checks that the default channel group uses an unbounded thread pool. When a read operation completes then the completion handle awaits on a barrier and the test completes when there are 256 threads (plus the main thread) get to the barrier. The problem is that the test completely ignores the case where I/O operations fail and this happens periodically on Windows because the close may be abrupt. The 1-line fix to this is to do a shutdownOutput so that the connection is closed gracefully. The only changes are just to add additional diagnostic output and to ensure that a failure causes the test to terminate in a timely manner. The webrev with the changes is here: http://cr.openjdk.java.net/~alanb/8003253/webrev/ -Alan.
- Previous message: 8003253: TEST_BUG: java/nio/channels/AsynchronousChannelGroup/Unbounded.java hang intermittently [win]
- Next message: 8003253: TEST_BUG: java/nio/channels/AsynchronousChannelGroup/Unbounded.java hang intermittently [win]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]