RFR: 8342939: Building ZGC without compiler2 fails

Vladimir Kozlov kvn at openjdk.org
Thu Oct 24 19:14:06 UTC 2024


On Thu, 24 Oct 2024 08:06:30 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this change that makes ZGC compile without the C2 compiler.
> 
> The solution is to ifdef the offending C2 code, and returning `false` for the predicate that checks whether this is a C2 compilation (which can't be because there is no C2 compiled in).
> 
> Testing: manual compilation without C2, gha
> 
> Thanks,
>   Thomas

Marked as reviewed by kvn (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/21677#pullrequestreview-2393513396


More information about the hotspot-dev mailing list