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

C2: Optimize RegMask::is_bound

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 16
    • hotspot
    • b27

      Improve the various RegMask::is_bound method performance by avoiding Size() and adding a quick drain loop after finding the bit/pair/set we're looking for.

      This optimize RegMask::is_bound by ~2x, and the other components are inlined in various places so the improvement adds up to about an 1% improvement on C2Compiler::initialize()

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

              Created:
              Updated:
              Resolved: