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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: 25
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: