Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/java.base/share/classes/java/lang/VirtualThread.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down