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

    • behavioral
    • minimal
    • 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.
    • add/remove/modify command line option
    • Implementation

      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.

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

              Created:
              Updated:
              Resolved: