RFR: 8312498: Thread::getState and JVM TI GetThreadState should return TIMED_WAITING virtual thread is timed parked
Alan Bateman
alanb at openjdk.org
Tue Jul 25 05:52:42 UTC 2023
On Tue, 25 Jul 2023 05:21:45 GMT, David Holmes <dholmes at openjdk.org> wrote:
> Why handle TIMED this way instead of just making TIMED_PARKED/PARKING states?
Been there but it is 3 additional states and a lot simpler to just use the additional state bits, like we do with SUSPENDED. We might use another one for special casing sleeping, if the need arises.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14978#discussion_r1273027305
More information about the serviceability-dev
mailing list