The GC thread can also preemptively sleep if it can't complete its upcoming work item before the quantum end time.
如果gc线程无法在时间量结束前完成预定的任务项目,那么也可以抢占性地进入休眠。
Individual thread stacks must be scanned atomically, or within a single quantum.
单独线程栈必须自动进行扫描,或在单个时间量内扫描。
The time quantum given to a thread depends on the thread's assigned priority.
为线程提供的时间量取决于给线程指定的优先级。
Suspending a thread requires the operating system to swap it out of the CPU often before it's time quantum has been consumed.
操作在挂起一个线程的时候需要将它换出CPU,而通常此时线程的时间片还没有使用完。
When an executing thread expires its time quantum, it's placed at the end of the run-queue for its priority and assigned a new time quantum.
当一个执行线程超过它的时间量时,它的优先级被放在运行队列的后端并给它指定了新的时间量。
When an executing thread expires its time quantum, it's placed at the end of the run-queue for its priority and assigned a new time quantum.
当一个执行线程超过它的时间量时,它的优先级被放在运行队列的后端并给它指定了新的时间量。
应用推荐