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

RISC-V: Optimize encode_heap_oop when oop is not null

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 23
    • hotspot
    • b05
    • riscv
    • linux

      Currently, encode_heap_oop will check if the oop pointer is nullptr at first. We can skip the null check of the oop to reduce the unnecessary branch instruction when encoding non-null oop pointer into compressed form.

            fjiang Feilong Jiang
            fjiang Feilong Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: