C1: Use MDO offsets as int consts instead of intptr consts

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • tbd
    • Affects Version/s: 17, 21, 22
    • Component/s: hotspot

      Noticed this when looking at C1 profiling code. We use MDO offsets as intptrConst, despite them being very small. This leads to loads with movabs with large immediates on x86. We can instead just load them as intConsts. This affects tier3 profiling code only.

            Assignee:
            Aleksey Shipilev
            Reporter:
            Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: