RFR: ThreadSnapshot: redesign and cleanup

Alan Bateman alanb at openjdk.org
Fri May 16 07:00:00 UTC 2025


On Fri, 16 May 2025 01:02:23 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

> ThreadSnapshot: redesign and cleanup

src/java.base/share/classes/jdk/internal/vm/ThreadSnapshot.java line 37:

> 35:     private static final ThreadLock[] EMPTY_LOCKS = new ThreadLock[0];
> 36: 
> 37:     // filled by VM

At some point we need to add carrierThread to also be captured when the target thread is a mounted virtual thread.

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

PR Review Comment: https://git.openjdk.org/loom/pull/220#discussion_r2092451155


More information about the loom-dev mailing list