Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6554406

Change switch UseVMInterruptibleIO default to false (sol)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 7
    • Fix Version/s: hs14
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b09
    • CPU:
      generic
    • OS:
      solaris

      Backports

        Description

        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 the false/off/don't use state so that it is not found on by the Solaris-specific code for handling I/O interruption in response to thread interruption. This makes Solaris the blocking I/O operations currently interruptible noninterruptible, as they are on Linux and Windows. Although no dependent application has yet been discovered, should there be one, the above switch can be used to restore past behavior. Note that this switch is accepted by all versions of Hotspot as a user convenience, but ignored except on Solaris.

        Before this change can be putback both final JAT approval and CCC approval must be in hand. The initial JAT case is here: http://javaweb.sfbay/j2se/jat/log.html#solaris-iio .

        When the switch was added by CR 6382902 it was tested extensively in the "true" and "false" settings to look for posible regressions (see http://javaweb/java/jdk/ws/libs/rev/6382902 for details)

        In addition, when this switch was back ported to SE 5 it got additional testing (see CR and CCC case 2143405 for details).

        This change will be documented to users via the SE 7 release notes (CR, CCC TBD).

        In its previous meeting the JAT recommended this CR be implemented relatively early in the SE 7 release cycle as an additional precaution in case there are dependent applications, to give maximum time to adjust to the change.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  xlu Xiaobin Lu (Inactive)
                  Reporter:
                  psoper Pete Soper (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: