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

Chris Plummer cjplummer at openjdk.org
Mon Sep 22 17:25:41 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.

This pull request has now been integrated.

Changeset: c3aaa875
Author:    Chris Plummer <cjplummer at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c3aaa8751acfd795207f1a509b6e170e6a753c69
Stats:     3 lines in 1 file changed: 1 ins; 0 del; 2 mod

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

Reviewed-by: dholmes, sspitsyn, lmesnik

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

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


More information about the serviceability-dev mailing list