RFR: 8290154: [JVMCI] Implement JVMCI for RISC-V

Fei Yang fyang at openjdk.org
Mon Jul 25 07:34:49 UTC 2022


On Thu, 21 Jul 2022 10:18:05 GMT, Sacha Coppey <duke at openjdk.org> wrote:

> This patch adds a JVMCI implementation for RISC-V. It creates the jdk.vm.ci.riscv64 and jdk.vm.ci.hotspot.riscv64 packages, as well as implements a part of jvmciCodeInstaller_riscv64.cpp. To check for correctness, it enables JVMCI code installation tests on RISC-V. It should be tested soon in GraalVM Native Image as well.

Hi, I see some JVM crash when I try the following test with fastdebug build with your patch:
    test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleDebugInfoTest.java

////////////////////////////////////////////////////
Internal Error (/home/fyang/openjdk-jdk/src/hotspot/cpu/riscv/nativeInst_riscv.cpp:118), pid=1154    063, tid=1154084
assert(NativeCall::is_call_at((address)this)) failed: unexpected code at call site
////////////////////////////////////////////////////

-------------

PR: https://git.openjdk.org/jdk/pull/9587



More information about the build-dev mailing list