Review Request: JDK-8001334 - Remove use of JVM_* functions from java.io code
Alan.Bateman at oracle.com
Wed Jan 23 15:48:42 UTC 2013
Moving to core-libs-dev to allow for wider review. As Dan mentions,
we've been looking to remove the Solairs-specific interruptible I/O for
a long time.
-------- Original Message --------
Subject: Review Request: JDK-8001334 - Remove use of JVM_* functions
from java.io code
Date: Mon, 21 Jan 2013 23:25:25 -0800
From: Dan Xu <dan.xu at oracle.com>
To: nio-dev <nio-dev at openjdk.java.net>
Interruptible I/O on Solaris has been highly problematicand undercut
portability. And the long term plan is to remove it completely from JDK.
In JDK6, the VM option, UseVMInterruptibleIO, was introduced as part of
a phase-out plan to allow developers/customers to disable it. In JDK7,
the default value of UseVMInterruptibleIO flag was changed to"false" to
make Solaris blockingI/O operations uninterruptible by Java thread
The last stepof this phase-out plan is to remove the feature completely.
And it is good to do it now in JDK8. In this fix, I removed all related
codes in IO area by replacing JVM_* functions with direct system calls.
Please help review the proposed fix. Similar changes in networking area
will be done via a different bug.
More information about the core-libs-dev