JDK-6382902 : VM interrupted I/O feature put on an option switch (sol)
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 1.4.2,5.0u9,6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris,solaris_2.5.1
  • CPU: generic,sparc
  • Submitted: 2006-02-08
  • Updated: 2012-10-13
  • Resolved: 2006-03-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other Other JDK 6
1.4.2_19-revFixed 1.4.2_20Fixed 6 b76Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
This RFE provides a Solaris-specific XX option switch for the Solaris JVM to enable initial Sun-internal testing. This RFE does not cause any behavior change on Solaris or elsewhere with the default setting of the new switch.
 
A major fraction (but not all) of the Java SE feature called "Interruptible I/O" is Solaris-specific and stemming from specific code in os::interrupt to do thr_kill calls in response to Java Thread.interrupt() and specific differences between the _INTERRUPTIBLE macro code in os_solaris.inline.hpp vs counterpart code for the Linux and Windows JVMs. 

In order to help identify any applications that have dependencies on the Solaris-specific behavior stemming from these JVM differences, if any still exist, a convenient means of disabling the specific behavior is needed. This RFE will provide the XX switch "UseVMInterruptibleIO" in Solaris JVMs, with a default swtting to "on"(true), for a net zero change of behavior for the ordinary use case. 

But with -XX:-UseVMInterruptibleIO, Java SE on Solaris users can test the behavior of their applications when the primary source of interruption is cut off. (Primary, because there are other, minor, sources of interruption that are platform-independent in the JDK and it is only the Solaris-specific behavior that is of interest). A less likely, but still possible dependency that can also be tested with this option is where an application runs properly on Linux or Windows but fails to run properly on Solaris because of the OS-specific I/O interruption capability.

Comments
EVALUATION This switch has been back-ported to Java SE 5 update 12 with a default setting and behavior identical to that of the switch in SE 6.
08-05-2007

EVALUATION This switch was approved for inclusion in Java SE 6 and is documented in the Solaris-specific release notes for that version.
31-10-2006

EVALUATION If this switch is back ported to other Java SE versions the release notes must be updated too.
27-10-2006

EVALUATION This switch is being labeled "unstable", meaning it could be withdrawn from Hotspot at any time or be relabeled in the future. This switch has no formal status whatsoever until/unless JAT approves it's mention in the Mustang release notes.
07-03-2006

EVALUATION Making this option available in Mustang allows discovery and elimination of any dependencies, assuming any dependencies still exist.
08-02-2006