(S) RFR: 8147379: Investigate if ConvertSleepToYield still should be false by default on Sparc

David Holmes david.holmes at oracle.com
Wed Feb 10 00:45:03 UTC 2016


bug: https://bugs.openjdk.java.net/browse/JDK-8147379

webrev:  http://cr.openjdk.java.net/~dholmes/8147379/webrev/

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 (AWT folk 
had no input). Changing this setting serves no useful purpose today. So 
we remove the pd nature of this flag and just make it a shared flag that 
defaults to true. We also deprecate it.

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. It is also deprecated.

These changes have been approved by our CCC process.

Testing: - JPRT
          - updated the VMDeprecatedOptions test

That was a lot of words for a very small change. :)

Thanks,
David


More information about the hotspot-runtime-dev mailing list