Review Request: JDK-8001334 - Remove use of JVM_* functions from java.io code
Dan Xu
dan.xu at oracle.com
Mon Jan 21 23:25:25 PST 2013
Hi,
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
interruptsby default.
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.
Bug: https://jbs.oracle.com/bugs/browse/JDK-8001334
webrev: http://cr.openjdk.java.net/~dxu/8001334/webrev.00/
<http://cr.openjdk.java.net/%7Edxu/8001334/webrev.00/>
Reference:
http://ccc.us.oracle.com/6423562
http://ccc.us.oracle.com/6554406
Best,
-Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20130121/b6df5038/attachment.html
More information about the nio-dev
mailing list