RISC-V: Unify handling of jumps to runtime

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: 24
    • Component/s: hotspot
    • b22
    • riscv
    • linux

      Was previously discussed here [1].
      Seems not reasonable for `MacroAssembler::j(const Address &dest, Register temp)` to
      delegate work to `MacroAssembler::j(const address dest, Register temp)` for literal Address.
      As discussed, this could generate a plain `JAL`, which means when we relocate the code, but
      the `JAL` immediate could be too large. We can relax this constaint.

      [1] https://github.com/openjdk/jdk/pull/21406#issuecomment-2415965656

            Assignee:
            Fei Yang
            Reporter:
            Fei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: