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

Reduce number of loads for Klass decoding in static code

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 22
    • hotspot
    • In Review

      When decoding a narrow Klass, we need three separate infos:

      - encoding base and shift
      - the value of UseCompressedClassPointers

      Once Lilliput is here, we'll need a fourth, UseCOH.

      With static c++, we cannot encode those values as immediates like we do in compiled code, but we could at least pack them together to load all of them with a single 64bit load.

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

              Created:
              Updated: