RFR: bad oop with JvmtiVTMSTransitionDisabler

Alan Bateman alanb at openjdk.org
Tue Apr 22 06:36:10 UTC 2025


On Mon, 21 Apr 2025 23:39:34 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

> Bad oop can happen after JvmtiVTMSTransitionDisabler is installed (at java_lang_VirtualThread::carrier_thread(java_thread) call).
> Fixed by converting java_thread to Handle

Thanks for jumping on this, looks right. There is also an issue with GetThreadSnapshotClosure._name and ThreadSnaphot is temporarily changed to drop the name parameter, do you want to look at this at the same time?

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

PR Comment: https://git.openjdk.org/loom/pull/217#issuecomment-2820208209


More information about the loom-dev mailing list