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

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

    Details

    • Subcomponent:
    • Introduced In Build:
      b128
    • Introduced In Version:
      9
    • Resolved In Build:
      b130
    • Verification:
      Not verified

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: