【发布时间】:2021-05-17 17:44:08
【问题描述】:
VisualVM 能够检测死锁:Get deadlock detection from running programm or dump in Java
VisualVM 是否能够检测活锁?如果不能自动执行,哪些操作可能有助于揭示活锁?
【问题讨论】:
VisualVM 能够检测死锁:Get deadlock detection from running programm or dump in Java
VisualVM 是否能够检测活锁?如果不能自动执行,哪些操作可能有助于揭示活锁?
【问题讨论】:
不,它不能,因为线程正在做某事,并且无法检测它是有用的东西还是只是来回移动
【讨论】: