review request for 6554406

Xiaobin Lu Xiaobin.Lu at Sun.COM
Wed Nov 12 20:39:27 PST 2008


Webrev: http://webrev.invokedynamic.info/xiaobin.lu/65544606/
(I have sent out the request before, but it was last year due to the 
long delay from library team about getting JAT approved about this).

Details:

6554406:  Change switch UseVMInterruptibleIO default to false (sol)

This is one of the last steps toward completing CR 4385444 "(spec) 
InterruptedIOException should not be required by platform specification 
(sol)" to get rid of Solaris-specific behavior with respect to thread 
interruption. (Note that this is unrelated to java.nio's fully portable 
support for I/O interruptibility).

This change flips the VM interruptible I/O switch "UseVMInterruptibleIO" 
to false by default for JDK 7 or later. In the meantime, we need to keep 
the default value to be true for JDK 6 (and any update releases) by 
default. To make it a bit more general, I came up with a method (see 
Flag::adjust_jdk_version_dependent_flag) to make such change easier in 
the future.

A CCC request regarding this change has been finalized and I am waiting 
to get it approved.

Reviewed by:
Verified by:
JPRT
(also run inside the dbx to verify the flag value change the way we 
expected.)

Thanks,
-Xiaobin





More information about the hotspot-dev mailing list