Integrated: 8372957: After JDK-8282441 JDWP might allow some invalid FrameIDs to be used

Chris Plummer cjplummer at openjdk.org
Wed Dec 3 17:21:49 UTC 2025


On Tue, 2 Dec 2025 20:40:32 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> [JDK-8282441](https://bugs.openjdk.org/browse/JDK-8282441) added freeing of ThreadNodes for some vthreads that are still running. They are only suppose to be freed if the ThreadNode contains no state information that needs to be maintained. There appears to be a bug in the current logic, allowing the loss of the ThreadNode frameGeneration value when it should be retained. Details in first comment.
> 
> Tested with by running all tier5 CI svc tests, which includes virtual thread testing.

This pull request has now been integrated.

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

8372957: After JDK-8282441 JDWP might allow some invalid FrameIDs to be used

Reviewed-by: amenkov, sspitsyn

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

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


More information about the serviceability-dev mailing list