Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
VisualVM 能够检测死锁:从正在运行的程序中获取死锁检测或在 Java 中转储
VisualVM 是否能够检测活锁?如果不能自动执行,哪些操作可能有助于揭示活锁?
不,它不能,因为线程正在做某事,并且无法检测它是否有用或只是来回移动