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

Tobias Hartmann thartmann at openjdk.org
Mon Nov 18 11:30:56 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

Thanks for the quick reviews!

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

PR Comment: https://git.openjdk.org/jdk/pull/22195#issuecomment-2482771701


More information about the hotspot-compiler-dev mailing list