RFR: JDK-6546236 Thread interrupt() of Thread.sleep() can be lost on Solaris due to race with signal handler
Alan Bateman
Alan.Bateman at oracle.com
Mon Feb 10 08:27:28 PST 2014
On 10/02/2014 15:58, Frederic Parain wrote:
> :
>
> Note that with this changeset, the Solaris
> implementation of sleep() and interrupt()
> is loosing the support for UseVMInterruptibleIO
> but this is not an issue because this VM
> flag has been deprecated in JDK8 and will be
> removed in JDK9.
Just an FYI that we removed some of the dependency from the the library
code in JDK 8 so even if you run with +UseVMInterruptibleIO then it
doesn't do anything in some areas (java.io in particular). The classic
networking (java.net) needs to be done, it's just that no-one got to it
in JDK 8. In any case, it's good to see this mis-feature finally going away.
-Alan
More information about the hotspot-runtime-dev
mailing list