RFR: 8297644: RISC-V: Compilation error when shenandoah is disabled

Fei Yang fyang at openjdk.org
Sat Nov 26 13:10:09 UTC 2022


On Fri, 25 Nov 2022 15:12:01 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> If configuring with `--disable-jvm-feature-shenandoahgc`, the risc-v port fails to build.
> 
> It seems that the code is really dependent on two header files, that is not declared, and probably has "leaked in" somewhere, but only if shenandoah is enabled. I have tried to resolve it to the best of my knowledge, but if you're not happy with the solution, by all means suggest a better way or take over this bug.

Looks good. Also verified by doing a native fastdebug build with --disable-jvm-feature-shenandoahgc. Thanks.

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

Marked as reviewed by fyang (Reviewer).

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


More information about the hotspot-compiler-dev mailing list