-
CSR
-
Resolution: Approved
-
P3
-
behavioral
-
minimal
-
-
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.
- csr for
-
JDK-8147379 Investigate if ConvertSleepToYield still should be false by default on Sparc
-
- Resolved
-