RFR: 8342939: Building ZGC without compiler2 fails
Thomas Schatzl
tschatzl at openjdk.org
Fri Oct 25 07:20:09 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
I verified that ZGC builds with only c1 and c2 too, did not check Graal, but apparently that's being handled already.
Thanks @fisk @vnkozlov @Hamlin-Li for your reviews.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21677#issuecomment-2437068843
More information about the hotspot-dev
mailing list