RFR: JDK-8156602 - javac crashes again on Windows 32-bit with ClosedChannelException

Alan Bateman Alan.Bateman at oracle.com
Thu May 19 13:46:05 UTC 2016


On 19/05/2016 14:03, Jim Laskey (Oracle) wrote:
> On 32 bit, a shared jimage channel closed by an interrupted thread (ClosedChannelException) disrupts other threads sharing jimage.  Fix is to reopen channel on not interrupted thread.
>
> http://cr.openjdk.java.net/~jlaskey/8156602/webrev/index.html
> https://bugs.openjdk.java.net/browse/JDK-8156602
Does this work? The interrupt status isn't cleared so I would expect the 
second and subsequent reads to fail and so hit the retry limit.

In generally them I'm uneasy about this approach and would prefer if we 
used non-interruptible I/O. I don't mind working on it if you'd like to 
get rid of it.

-Alan


More information about the jigsaw-dev mailing list