While spin locks are CPU-intensive and appear inefficient, they can be more efficient than suspending the thread and subsequently waking it up if the lock in question is held for a very short time.
虽然旋转锁是cpu密集型的,显得效率低下,但是如果争夺的锁被持有的时间非常短,那么旋转锁要比暂挂线程然后再唤醒它更有效率。
A thread dump is a text file that contains a relatively short snapshot of the key aspects of the state of that JVM.
线程转储是一个文本文件,其中包含J VM状态的关键方面的一个相对较短的快照。
In short, each thread looks like (and in some ways behaves like) a separate process.
简言之,每个线程看起来都像是一个单独的进程(其行为的某些方面也是如此)。
应用推荐