RFR: 8312498: Thread::getState and JVM TI GetThreadState should return TIMED_WAITING virtual thread is timed parked [v3]

David Holmes dholmes at openjdk.org
Mon Sep 18 01:46:37 UTC 2023


On Fri, 15 Sep 2023 06:34:52 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> What is TIMED PINNING? 
>> 
>> To me TIMED_X are a specific set of states and there are not enough of them to consider TIMED to be a bit that can be applied to any state X.
>
>> What is TIMED PINNING?
> 
> LockSupport.parkNanos when the carrier can't be released due to monitor or native frame.

Surely that is not a specified exported thread state though ?? Why would we care about PINNED (timed or otherwise) in the current context?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14978#discussion_r1328191555


More information about the serviceability-dev mailing list