RFR: 8361955: [GCC static analyzer] libjdwp/threadControl.c threadControl_setPendingInterrupt error: dereference of NULL 'node'

Serguei Spitsyn sspitsyn at openjdk.org
Sat Sep 20 05:42:12 UTC 2025


On Thu, 18 Sep 2025 22:26:26 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> Fix gcc static analyzer warning. It was introduced by [JDK-8324868](https://bugs.openjdk.org/browse/JDK-8324868) early last year. For the most part the fix is to revert the relevant [JDK-8324868](https://bugs.openjdk.org/browse/JDK-8324868) changes, except for leaving in the replacement of calling findThread() with instead calling findRunningThread().
> 
> Ran all svc tier2 and tier5 tests.

Looks reasonable.

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

Marked as reviewed by sspitsyn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27378#pullrequestreview-3248527406


More information about the serviceability-dev mailing list