visualvm 是否能够检测到活锁?

Is visualvm able to detect livelocks?

VisualVM 能够检测死锁:Get deadlock detection from running programm or dump in Java

VisualVM 能够检测活锁吗?如果不能自动执行哪些操作可以帮助揭示活锁?

不,它不能,因为线程正在做某事并且不可能检测它是否有用或只是来回移动