RFR(XS): 8242796: Fix client build failure
Yang Zhang
Yang.Zhang at arm.com
Fri Apr 17 08:37:16 UTC 2020
Hi Vladimir
I update the patch according to your comment.
http://cr.openjdk.java.net/~yzhang/8242796/webrev.01/
These checks are needed.
#if INCLUDE_JFR && COMPILER2_OR_JVMCI
#if COMPILER2 ----------- without it, configuring --with-jvm-features=-compiler2 fails to build. The error is the same as before.
Regards
Yang
-----Original Message-----
From: hotspot-compiler-dev <hotspot-compiler-dev-bounces at openjdk.java.net> On Behalf Of Vladimir Kozlov
Sent: Friday, April 17, 2020 5:27 AM
To: hotspot-compiler-dev at openjdk.java.net
Subject: Re: RFR(XS): 8242796: Fix client build failure
Method register_jfr_phasetype_serializer() is only called when C2 or JVMCI code is included in JVM build.
I think you need to put whole method under checks:
#if INCLUDE_JFR && COMPILER2_OR_JVMCI
// It appends new compiler phase names to growable array phase_names(a new CompilerPhaseType mapping // in compiler/compilerEvent.cpp) and registers it with its serializer.
Thanks,
Vladimir
On 4/16/20 1:58 AM, Yang Zhang wrote:
> Hi,
>
> Could you please help to review this patch?
>
> JBS: https://bugs.openjdk.java.net/browse/JDK-8242796
> Webrev: http://cr.openjdk.java.net/~yzhang/8242796/webrev.00/
>
> This build failure is introduced by JDK-8193210 [JVMCI/Graal] add JFR
> compiler phase/inlining events.
> C2 only code is used for JFR. To fix this issue, I use COMPILER2 macro.
>
> With this patch, x86 client build succeeds. But AArch64 client build
> still fails, which is caused by [1]. I have filed [2] for AArch64
> client build failure and will summit another patch for that.
>
> [1] https://bugs.openjdk.java.net/browse/JDK-8241665
> [2] https://bugs.openjdk.java.net/browse/JDK-8242905
>
> Regards
> Yang
>
More information about the hotspot-compiler-dev
mailing list