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

RISC-V: Incorrect implementation in VM_Version::parse_satp_mode

    XMLWordPrintable

Details

    • b07
    • riscv
    • linux

    Backports

      Description

        Currently, method VM_Version::os_uarch_additional_features uses "fgets" to read the contents of /proc/cpuinfo, then calls "parse_satp_mode" with a string with the leading "mmu" and whitespaces removed, like ": sv39\n". However, "parse_satp_mode" compares this string directly to "sv39", which always fails and returns VM_MBARE.

        Xing Qizheng(@MaxXSoft) will own this issue.

        Attachments

          Issue Links

            Activity

              People

                fyang Fei Yang
                jzhu Joshua Zhu
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: