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

RISC-V: Fix incorrect assertion in SharedRuntime::generate_handler_blob

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 25
    • hotspot
    • b03
    • riscv
    • linux

      I find that the verification of encoding of the poll instruction in this blob is not correct.
      The code loads the instruction and checks for three bit fields, but it uses wrong masks. This
      won't trigger an assertion failure as the masks are partial compared with the correct ones.

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

              Created:
              Updated:
              Resolved: