RFR: 8372957: After JDK-8282441 JDWP might allow some invalid FrameIDs to be used
Chris Plummer
cjplummer at openjdk.org
Wed Dec 3 17:14:39 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.
Thank you for the reviews Alex and Serguei!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28616#issuecomment-3607906897
More information about the serviceability-dev
mailing list