Skip range and constraint checks on non-existent flags

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 10
    • Affects Version/s: 9, 10
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: