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

Investigate if ConvertSleepToYield still should be false by default on Sparc

    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:
      Hide
      There is no observable affect from changing the default on Solaris sparc.

      Deprecation of these very old flags will have no impact on users.
      Show
      There is no observable affect from changing the default on Solaris sparc. Deprecation of these very old flags will have no impact on users.
    • Interface Kind:
      add/remove/modify command line option
    • Scope:
      Implementation

      Description

      Summary

      Deprecate VM options ConvertSleepToYield and ConvertYieldToSleep.

      Problem

      ConvertSleepToYield is a product VM flag that should only have been defined for Solaris, and was by accident only set differently (false) on Solaris sparc. It relates to a GUI responsiveness issue in some ancient Solaris version, the details of which have been lost. Changing this setting serves no useful purpose today.

      ConvertYieldToSleep is a product VM flag that should only have been provided for Windows, but was made available on all platforms. It's role was to allow for backward compatibility with the Classic VM. Changing this setting serves no useful purpose today.

      Solution

      Change the default value of ConvertSleepToYield to true on Solaris sparc, matching all other platforms.

      Mark ConvertSleepToYield and ConvertYieldToSleep deprecated in Java 9, with a view to obsolete them in Java 10 and expire them in Java 11.

      Specification

      ConvertSleepToYield defaults to true for all platforms.

      Specifying ConvertSleepToYield or ConvertYieldToSleep will result in a deprecation  warning.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dholmes David Holmes
              Reporter:
              dholmes David Holmes
              Reviewed By:
              Karen Kinnear (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: