0
time java -XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/parser/TypeConverter.decodeType -XX:-UseLoopPredicate -ea -jar file.jar directory DB details
上述腳本用於從服務器上傳目錄細節DB,但有時核心轉儲。得到以下錯誤原木:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fcd73286d94, pid=21271, tid=140519844833024
#
# JRE version: Java(TM) SE Runtime Environment (8.0_91-b14) (build 1.8.0_91-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.91-b14 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x814d94] PhaseIdealLoop::build_loop_late_post(Node*)+0x144
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
-XX:-UseLoopPredicate和XX:CompileCommand =排除,組織/蝕/ JDT /內部/編譯器/分析器/ TypeConverter.decodeType是不能夠解決的問題。
在此之前,因爲等待而降級盜竊了很多時間。 – Ben