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

Skip range and constraint checks on non-existent flags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 9, 10
    • hotspot
    • 9
    • b21

      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.

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

              Created:
              Updated:
              Resolved: