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

Control flow in BasicMatcher::matches could be improved

    XMLWordPrintable

Details

    Description

      Noticed that when running various benchmarks, e.g., Octane gbemu, in the presence of many compiler control directives that BasicMatcher::matches may show up prominently in some profiles.

      During experiments it appears that on some platforms, Windows in particular, small adjustments to the control flow in that method - specifically to avoid eager lookup of Symbol*'s that won't be used - can have a significant impact.

      This issue is possibly part of JDK-8057169

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: