RFR: ThreadSnapshot: redesign and cleanup
Alan Bateman
alanb at openjdk.org
Fri May 16 06:56:14 UTC 2025
On Fri, 16 May 2025 01:02:23 GMT, Alex Menkov <amenkov at openjdk.org> wrote:
> ThreadSnapshot: redesign and cleanup
src/hotspot/share/classfile/javaClasses.cpp line 1974:
> 1972: oop park_blocker = java_lang_Thread::park_blocker(_java_thread());
> 1973: if (park_blocker != nullptr) {
> 1974: _blocker = LockInfo(LockInfo::PARKING_TO_WAIT, OopHandle(Universe::vm_global(), park_blocker));
At some point then maybe this could move out of detect_locks as it's nothing to do with the javaVFrame, instead parkBlocker is just a property of a thread and PARKING_TO_WAIT can be PARK_BLOCKER.
-------------
PR Review Comment: https://git.openjdk.org/loom/pull/220#discussion_r2092444788
More information about the loom-dev
mailing list