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

RISC-V: Optimize encode_heap_oop when oop is not null

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: