Blog

Eclipse crash in CompilerThread on 64-bits Java

November 11, 2008 09:36 in Eclipse, Technology

The title describes it all, there is a bug in the Sun JVM version 1.6 update 5 and later versions that makes the CompilerThread in Eclipse crash on 64-bits systems. Bugreports have been filed for Eclipse and the JVM, but the problem is still not resolved with the recent 1.6 update 10 release.

To save anyone with the same problem a lot of time, a workaround is to add the following line to eclipse.ini:

-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith

That stops Java Hotspot’s JIT compiler from compiling the problem-method and avoids the crash.