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

Runtime.Version.parse needs fast-path for major versions

XMLWordPrintable

    • b128
    • 9
    • b130
    • Not verified

      JDK-8150680 reintroduce a performance regression similar to the one addressed by JDK-8160000, this time due to creating Runtime.Version constants such as Runtime.Version.parse(Integer.toString(8))

      Adding a fast-path to avoid initializing Runtime.VersionBuilder for such trivial cases would avoid the startup regression

            redestad Claes Redestad
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: