8344595: State transitions in internal VirtualThread comment needs to be updated
Reviewed-by: alanb
This commit is contained in:
parent
22a39dc858
commit
da2d7a09f9
@ -108,14 +108,14 @@ final class VirtualThread extends BaseVirtualThread {
|
||||
* UNBLOCKED -> RUNNING // continue execution after blocked on monitor enter
|
||||
*
|
||||
* RUNNING -> WAITING // transitional state during wait on monitor
|
||||
* WAITING -> WAITED // waiting on monitor
|
||||
* WAITED -> BLOCKED // notified, waiting to be unblocked by monitor owner
|
||||
* WAITED -> UNBLOCKED // timed-out/interrupted
|
||||
* WAITING -> WAIT // waiting on monitor
|
||||
* WAIT -> BLOCKED // notified, waiting to be unblocked by monitor owner
|
||||
* WAIT -> UNBLOCKED // timed-out/interrupted
|
||||
*
|
||||
* RUNNING -> TIMED_WAITING // transition state during timed-waiting on monitor
|
||||
* TIMED_WAITING -> TIMED_WAITED // timed-waiting on monitor
|
||||
* TIMED_WAITED -> BLOCKED // notified, waiting to be unblocked by monitor owner
|
||||
* TIMED_WAITED -> UNBLOCKED // timed-out/interrupted
|
||||
* TIMED_WAITING -> TIMED_WAIT // timed-waiting on monitor
|
||||
* TIMED_WAIT -> BLOCKED // notified, waiting to be unblocked by monitor owner
|
||||
* TIMED_WAIT -> UNBLOCKED // timed-out/interrupted
|
||||
*
|
||||
* RUNNING -> YIELDING // Thread.yield
|
||||
* YIELDING -> YIELDED // cont.yield successful, may be scheduled to continue
|
||||
|
Loading…
Reference in New Issue
Block a user