RFR: 8319935: Ensure only one JvmtiThreadState is created for one JavaThread associated with attached native thread [v3]

Serguei Spitsyn sspitsyn at openjdk.org
Wed Nov 29 18:42:18 UTC 2023


On Tue, 28 Nov 2023 22:40:10 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

>> @jianglizhou Thank you for filing the sub-task. You have already seen some crashes. Even though you do not have a standalone test case, it is still valuable if you describe a test scenario (at least, surfacely) which helped to observe the problem. Could you, add it to the sub-task report, please?
>
>> Thanks for the careful review, @sspitsyn! The fix is for 22. We probably should also consider back-porting to JDK 11 to prevent any potential changes in the area accidentally reintroducing the bug. The https://bugs.openjdk.org/browse/JDK-8312174 change has been back-ported to 11, which resolved the crashes by luck.
>> I'll request backport after this fix is integrated.
> 
> Nice. I've targeted it to 22. I agree it is better to have it back-ported. Its back-port is not going to be clean though.

> Hi @sspitsyn I'll comment on https://bugs.openjdk.org/browse/JDK-8320614 later, thanks.
@jianglizhou Okay, thanks!

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

PR Comment: https://git.openjdk.org/jdk/pull/16642#issuecomment-1832493311


More information about the hotspot-dev mailing list