我在 Ubuntu 11.10(64 位)下的 VisualVM 有问题。我正在使用最新的 Java 1.6 版本 (1.6.0_29-b11) 和 Scala 2.9.1。
VisualVM 没有在 Monitor 的选项卡中显示 CPU 使用情况(说:此 JVM 不支持。),缺少 Threads 选项卡,我无法使用 Sampler 或 Profiler。实际上我可以点击 CPU Profiling 但没有任何反应。
在 Windows 7 下一切正常!
在 VisualVM 日志中,我多次发现此异常:
com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded
有人有想法吗?