Eclipse在打开的5分钟内崩溃。 我使用的Eclipse版本是4.4-luna。 以下是错误日志:
# # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00002b1568210c24, pid=6792, tid=0x00002b15822de940 # # JRE version: Java(TM) SE Runtime Environment (8.0_92-b14) (build 1.8.0_92-b14) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.92-b14 mixed mode linux-amd64 compressed oops) # Problematic frame: # V [libjvm.so+0x815c24] 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 #
这看起来可能是Eclipse bugzilla报告465693中讨论的JVM错误。
Eclipse 4.5.1中添加了一个解决方法
该错误还建议尝试添加以下之一到您的eclipse.ini
的-vmargs
:
-XX:-UseLoopPredicate
要么
-XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/parser/TypeConverter.decodeType
在你的eclipse.ini文件中添加以下行并重新启动。
-Dorg.eclipse.swt.browser.DefaultType=mozilla