RFR: 8357650: ThreadSnapshot to take snapshot of thread for thread dumps [v2]

Alan Bateman alanb at openjdk.org
Wed May 28 13:01:58 UTC 2025


On Wed, 28 May 2025 07:01:53 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   move to ThreadService
>
> src/hotspot/share/prims/jvmtiThreadState.hpp line 80:
> 
>> 78: // Virtual Thread Mount State Transition (VTMS transition) mechanism
>> 79: //
>> 80: class JvmtiVTMSTransitionDisabler : public AnyObj {
> 
> Why this change?

It's used by VMThreadSnapshot::get_thread_snapshot. The transition disabling support is currently in the jvmti code. I think this is the first usage in a handshake op that isn't supporting a JVMTI function. Maybe in the future this could be separated.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25425#discussion_r2111794761


More information about the hotspot-dev mailing list