RFR: 8344199: Incorrect excluded field value set by getEventWriter intrinsic

SendaoYan syan at openjdk.org
Mon Nov 18 11:10:57 UTC 2024


On Mon, 18 Nov 2024 10:09:54 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> The C2 intrinsic for `jdk.jfr.internal.JVM::getEventWriter` sets a boolean `excluded` field by masking the most significant bit of the unsigned 2-byte `thread_epoch_raw` field value. A shift is needed to get a proper boolean value.
> 
> Thanks,
> Tobias

Test passed after apply the patch of this PR

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

Marked as reviewed by syan (Committer).

PR Review: https://git.openjdk.org/jdk/pull/22195#pullrequestreview-2442318379


More information about the hotspot-compiler-dev mailing list