Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8173421

Obsolete and expired flags for JDK 10 need to be removed and related tests updated

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b01

      Description

      If we bump the JDK version to 10 we trigger the warnings related to flags that should be removed in 10:

      Java HotSpot(TM) 64-Bit Server VM warning: Global variable for expired flag entry "AutoGCSelectPauseMillis" should be removed
      Java HotSpot(TM) 64-Bit Server VM warning: Global variable for expired flag entry "UseAutoGCSelectPolicy" should be removed
      Java HotSpot(TM) 64-Bit Server VM warning: Global variable for expired flag entry "UseParNewGC" should be removed
      Java HotSpot(TM) 64-Bit Server VM warning: Global variable for expired flag entry "ExplicitGCInvokesConcurrentAndUnloadsClasses" should be removed
      Java HotSpot(TM) 64-Bit Server VM warning: Global variable for obsolete special flag entry "ConvertSleepToYield" should be removed
      Java HotSpot(TM) 64-Bit Server VM warning: Global variable for obsolete special flag entry "ConvertYieldToSleep" should be removed

      We then trip an assert that makes it impossible to build JDK 10 without first fixing this issue (though the assert should be removed as a seperate issue).

      We need to delete the table entries, delete the global variables and delete all code that uses the non-default value of the global variable being deleted (if not already ignored).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dholmes David Holmes
                Reporter:
                dholmes David Holmes
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: