简体   繁体   English

分析jvm核心文件?

[英]Analysis jvm core file?

I hava a web service running on a unix server, after some update of the code, the service generate a core file core.94489 when starting up, anyone knows how to analysis this core file to debug the problem?我有一个运行在 unix 服务器上的 web 服务,经过一些代码更新后,该服务在启动时生成一个核心文件 core.94489,有谁知道如何分析这个核心文件来调试问题? Thank you.谢谢你。

PS: I use oracle jvm7 PS:我使用oracle jvm7

Like @SMA suggests, the hs_err{pid} file will have most of the things you need (or can make use of)就像@SMA 建议的那样, hs_err{pid} 文件将包含您需要(或可以使用)的大部分内容

IMGO The core dump isn't useful unless you have a debug build of the JVM eg you built the OpenJDK for DEBUG.恕我直言,核心转储没有用,除非您有 JVM 的调试版本,例如您为 DEBUG 构建了 OpenJDK。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM