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

Tobias Hartmann thartmann at openjdk.org
Tue Nov 19 10:05:01 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

This pull request has now been integrated.

Changeset: 9d60300f
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9d60300feea12d353fcd6c806b196ace2df02d05
Stats:     11 lines in 2 files changed: 6 ins; 1 del; 4 mod

8344199: Incorrect excluded field value set by getEventWriter intrinsic

Co-authored-by: Patricio Chilano Mateo <pchilanomate at openjdk.org>
Reviewed-by: syan, mgronlun

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

PR: https://git.openjdk.org/jdk/pull/22195


More information about the hotspot-compiler-dev mailing list