Java 8 mdmp 转储文件分析器与 visualvm 添加 VM 核心转储变灰/空白

Java 8 mdmp dump file analyzing with jvisualvm Add VM Coredump grayed / blanked out

我找到了Tool for analyzing java core dump,真的很接近,但是当我打开jvisualvm并打开"File"菜单时,"Add VM Coredump"选项不可用。当我 运行 溢出文章中列出的另一个选项时,我没有得到线程转储。我正在更深入地研究 jmap 命令,但我想知道如何使用添加 VM Coredump 功能,因为它会让生活更轻松。

您必须在 Solaris 或 Linux 上才能访问 VisualVM Coredumps 选项。

在文档 (http://visualvm.java.net/coredumps.html) 中说:

The Core Dump node is visible in the Applications window if VisualVM is running on Solaris or Linux. Generally, VisualVM can only open a core dump if the core dump was taken on the same machine. A core dump contains informaton on the Java Development Kit (JDK) and kernel of the machine where the core dump was taken. To open the core dump in VisualVM, this information must match the JDK software and kernel of the local system.