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

Compute caller save exclusion RegMasks once

XMLWordPrintable

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

      By computing the RegMasks used to exclude caller saved registers only once, we can save some computation per C2 compilation. This saves about 27k instructions per compilation on x64, about 3% of the total compilation time for the stub code compiles that happen during startup. With 14 such compilations this saves around 380k instructions during bootstrap alone.

      Proof-of-concept patch: http://cr.openjdk.java.net/~redestad/scratch/static_debug_masks.00/

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

              Created:
              Updated:
              Resolved: