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

On x64, use 32-bit immediate moves for narrow klass base if possible

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 23
    • hotspot
    • b26
    • x86_64

      On x64, we always use the long form of mov immediate to load the klass base into a register. If the klass base fits into 32 bit, we could use the short form and save four instruction bytes.

            stuefe Thomas Stuefe
            stuefe Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: