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

Inefficient pre-sizing of PhiResolverState arrays in c1_LIRGenerator

    XMLWordPrintable

Details

    • b13

    Description

      The PhiResolverState arrays are pre-sized to the maximum possible number of nodes that can be put into them, which when instrumenting turns out to be quite excessive. By not pre-sizing to the theoretical maximum I can measure a substantial improvements in calling methods (only a small fraction of calls ever have to grow the arrays from their default sizes), and a significant reduction of the total instructions executed in a variety of startup benchmarks

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: