It can then perform GC work for the remainder of the quantum, scheduling itself back to sleep and resuming the JVM when the quantum end time approaches.
然后才能在剩余的时间内执行gc工作,在时间量临近结束时将自身调回休眠状态并恢复JVM的运行。
2
When the thread that has the lock leaves the critical section, the suspended thread needs to be woken up. The thread will need to be re-scheduling and context switched back into the CPU.