RFR: 8282420: JFR: Remove event handlers [v6]
Markus Grönlund
mgronlun at openjdk.org
Thu Jul 7 13:51:45 UTC 2022
On Thu, 7 Jul 2022 13:38:50 GMT, Doug Simon <dnsimon at openjdk.org> wrote:
>> In general, we would like to reduce the amount of conditionalization because it makes the code harder to read and follow. Compilers should not require a definition until a definition is actually needed. Are you seeing compilation errors?
>
> No I'm not which surprised me. I agree though, if the compilers don't complain, fewer conditional macros is better.
It is because the bodies in the call chain have been conditionalized out. There is no linking because there are no uses.
-------------
PR: https://git.openjdk.org/jdk/pull/8383
More information about the hotspot-jfr-dev
mailing list