本文介绍了如何理解Java热点错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当JVM崩溃时,它会写一个错误日志hs_err_pid.log。我想知道是什么导致JVM崩溃?如何理解这些日志,记录在任何地方如何安排这个日志。我尝试在网上搜索,但没有效果: - (



指向相关的网址将感激不尽。

所以最好的事情可能是提交一个错误报告建议的错误消息。



但是,如果你确实想要理解它,有货。照常。)


Guys when the JVM Crashes it writes an Error Log hs_err_pid.log. I want to find out what caused the JVM to crash ? How to understand these Logs, is it documented anywhere on how this Log is arranged. I tried to search on the Net but to no avail :-(

Pointing out to relevant URL's will be appreciated. Thanks.

解决方案

Unless you are calling native code (JNI), nothing in your code should ever make JVM crash; so the stack trace information in that log file is probably not meant to be very useful to most developers. That's probably why it might not be documented (at least externally).So the best thing is probably to file a bug report as suggested by the error message.

But, if you really do want to understand it, Kohsuke's Blog has the goods. As usual. :)

这篇关于如何理解Java热点错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-18 06:29