Integrated: 8333276: RISC-V: client VM build failure after JDK-8241503
Gui Cao
gcao at openjdk.org
Mon Jun 3 01:47:04 UTC 2024
On Thu, 30 May 2024 14:05:42 GMT, Gui Cao <gcao at openjdk.org> wrote:
> Hi, please review this patch that fix the client VM build failed for riscv.
>
> Error log for client VM build to see: [JDK-8333276](https://bugs.openjdk.org/browse/JDK-8333276)
>
> The root cause is that `src/hotspot/share/code/compiledIC.hpp` include `"opto/c2_MacroAssembler.hpp"`, after that `opto/c2_MacroAssembler.hpp` include `c2_MacroAssembler_riscv.hpp`.
>
> The fix is that we extracted the `spill_vmask, unspill_vmask` function definitions into `c2_MacroAssembler_riscv.cpp`. `c2_MacroAssembler_riscv.cpp` will only compile if the `COMPILER2` macro is present.
> ### Testing
> - [x] linux-riscv client VM fastdebug native build
This pull request has now been integrated.
Changeset: cfe91ed3
Author: Gui Cao <gcao at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/cfe91ed39c9a0c8e8b16e142ee8cf3a90a6c69c3
Stats: 28 lines in 2 files changed: 15 ins; 11 del; 2 mod
8333276: RISC-V: client VM build failure after JDK-8241503
Reviewed-by: fyang
-------------
PR: https://git.openjdk.org/jdk/pull/19481
More information about the hotspot-compiler-dev
mailing list