Reduce number of loads for Klass decoding in static code

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 22
    • Component/s: 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.

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

              Created:
              Updated: