RFR: 8302368: [ZGC] Client build fails after JDK-8300255

Fei Yang fyang at openjdk.org
Tue Feb 14 05:50:43 UTC 2023


On Tue, 14 Feb 2023 03:29:51 GMT, Jie Fu <jiefu at openjdk.org> wrote:

> Hi all,
> 
> Please review this small change to fix the client vm build failure.
> 
> "__" redefined [-Werror] occurred if build without C2.
> 
> Thanks.
> Best regards,
> Jie

Changes requested by fyang (Reviewer).

src/hotspot/cpu/riscv/gc/z/zBarrierSetAssembler_riscv.cpp line 447:

> 445: #endif // COMPILER1
> 446: 
> 447: #undef __

I think we should remove the "#undef __" at line #354 of this file at the same time for riscv.

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

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


More information about the hotspot-dev mailing list