RFR: 8286647: JFR: Build failure when C1 or C2 is disabled after JDK-8282420

Markus Grönlund mgronlun at openjdk.java.net
Thu May 12 14:29:50 UTC 2022


On Thu, 12 May 2022 13:52:52 GMT, Jie Fu <jiefu at openjdk.org> wrote:

> Hi all,
> 
> JDK fails to build when c1 or c2 is disabled after JDK-8282420.
> The reason is that c1/c2 code is used without `#ifdef` guards.
> The fix just adds some `#ifdef`.
> 
> Testing:
>  - build   on Linux/x64
>  - jdk/jfr on Linux/x64
> 
> Thanks.
> Best regards,
> Jie

Ok, the function definitions in the .cpp will also have to be conditionalised. Is the rest necessary? Forward declarations are just symbolic pointers until they reach their definition.

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

PR: https://git.openjdk.java.net/jdk/pull/8680


More information about the hotspot-jfr-dev mailing list