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

Skip range and constraint checks on non-existent flags

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 9, 10
    • 10
    • hotspot
    • 9
    • b21

    Description

      JEP-245 code is currently looking up non-product and lp64 flags to check valid ranges and constraints, even on builds where they are emitted as constants (product and 32-bit respectively)

      Skipping such flags reduce the overhead of checking flags during startup by 15% on 64-bit, and skipping 64-bit only flags improves the situation even more on 32-bit builds.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: