我开始经常观察JVM的崩溃。目前我甚至无法编译任何大型Java项目,因为这些崩溃。
在编译期间,JVM崩溃,在项目中的任何地方创建hs_err_pid
文件,这会导致后续错误。
是否有可能以某种方式理解这些报告中这些崩溃的原因是什么?
示例报告标题如下:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000064afd7a0, pid=16496, tid=0x00000000000010a0
#
# JRE version: Java(TM) SE Runtime Environment (8.0_102-b14) (build 1.8.0_102-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.102-b14 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# V [jvm.dll+0x50d7a0]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x000000003a064800): JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=4256, stack(0x000000003a830000,0x000000003a930000)]
首先想到的是内存硬件问题,但内存测试没有发现任何错误。
它还有什么以及如何追踪它?