Uploaded image for project: 'CCC Migration Project'
  1. CCC Migration Project
  2. CCC-8141024

[Solaris] Obsolete UseAltSigs

    XMLWordPrintable

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P3
    • Resolution: Approved
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Compatibility Kind:
      behavioral
    • Compatibility Risk:
      minimal
    • Compatibility Risk Description:
      The flags have no affect on Solaris 10 onwards, and have been documented as being ignored on Solaris 10 since JDK 6.
    • Interface Kind:
      add/remove/modify command line option
    • Scope:
      Implementation

      Description

      Summary

      Define UseAltSigs and Xusealtsigs as obsolete.

      Problem

      History:

      The JVM claimed SIGUSR1 and SIGUSR2 for the INTERRUPT and ASYNC signals, respectively.

      -Xusealtsigs, mapping to -XX:+UseAltSigs, was provided to allow users to reclaim those signals and instead use two of the real-time signals (between SIGRTMIN and SIGRTMAX)

      As of Solaris 10, Solaris provides SIGJVM1 and SIGJVM2 exclusively for the JVMs use. This avoids any conflict with user-defined signal usage.

      As of Java 6 we documented that on Solaris 10 -Xusealtsigs/-XX:+UseAltSigs had no affect:

      http://www.oracle.com/technetwork/java/javase/signals-139944.html#gbzbh

      As we no longer support Solaris versions older than 10, we do not need the UseAltSigs functionality and the flags can be made Obsolete.

      Solution

      Move -XX:+/-UseAltSigs to the set of flags obsoleted in 9. Use of the flag now produces:

      Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option UseAltSigs; support was removed in 9.0

      Explicitly issue a similar warning for -Xusealtsigs:

      Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option -Xusealtsigs; support was removed in 9.0

      Remove mention of these flags from the man pages.

      Add a release note describing the change if deemed necessary.

      Specification

      Use of the -XX:+UseAltSigs flag now produces:
      
      Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option UseAltSigs; support was removed in 9.0
      
      Use of the -Xusealtsigs flag now produces:
      
      Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option -Xusealtsigs; support was removed in 9.0

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dholmes David Holmes
              Reporter:
              dholmes David Holmes
              Reviewed By:
              Coleen Phillimore
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: