Review Request: JDK-8001334 - Remove use of JVM_* functions from java.io code
Dan Xu
dan.xu at oracle.com
Wed Jan 23 08:02:08 PST 2013
Sure,Alan.
I'd like to get suggestions from all expertsto help find out potential
issues if anyexists.Thanks!
-Dan
On 01/23/2013 07:27 AM, Alan Bateman wrote:
> Dan - I'm going to move this review to core-libs-dev, hope that is okay.
>
> On 22/01/2013 07:25, Dan Xu wrote:
>> 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/20130123/0fa58ee2/attachment-0001.html
More information about the nio-dev
mailing list