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

Optimize various RegMask operations by introducing watermarks

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b12

      Description

      By introducing a low and high water mark of the RegMask words that we are sure have register bits, we can reduce time spent doing a variety of operations.

      On a few profiled startup application the average number of instructions spent compiling methods in C2 drops 10-15%, and we see improvements on a range of startup and footprint applications.

      There are also a few improvements on microbenchmarks, likely due to a positive effect on warmup times.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                redestad Claes Redestad
                Reporter:
                redestad Claes Redestad
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: