RFR: 8357800: Initialize JvmtiThreadState bool fields with bool literals
Alan Bateman
alanb at openjdk.org
Mon May 26 19:08:50 UTC 2025
On Mon, 26 May 2025 17:25:33 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> [JDK-8356251](https://bugs.openjdk.org/browse/JDK-8356251) changed `JvmtiThreadState._saved_interp_only_mode` from `int` to `bool`, which is good. But the initializations are still done with `0` literals. Even though it is benign, SonarCloud still complains about the intentionality of this initialization.
>
> Additional testing:
> - [x] Linux x86_64 server fastdebug, `serviceability/jvmti`
Looks right
-------------
PR Review: https://git.openjdk.org/jdk/pull/25458#pullrequestreview-2869038288
More information about the serviceability-dev
mailing list