RFR: 8357800: Initialize JvmtiThreadState bool fields with bool literals
Aleksey Shipilev
shade at openjdk.org
Tue May 27 14:48:02 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`
Thanks! Integrating now.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25458#issuecomment-2912787135
More information about the hotspot-dev
mailing list