On Mon, 18 Apr 2022 09:07:03 GMT, Feilong Jiang <fji...@openjdk.org> wrote:

> This patch adds Zero support for the 32-bit RISC-V architecture.
> 
> Additional tests:
> 
> - [x] Linux zero RISCV32 cross-compilation
> - [x] Resulting binaries run on QEMU User mode without problems

src/hotspot/os/linux/waitBarrier_linux.cpp line 44:

> 42: #ifndef SYS_futex
> 43:   #if defined(RISCV32) && defined(SYS_futex_time64)
> 44:     #define SYS_futex SYS_futex_time64

Should it be better to check SYS_futex and SYS_futex_time64 when RISCV32 
defined?

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

PR: https://git.openjdk.java.net/jdk/pull/8284

Reply via email to