64bit HotSpot hates Eclipse
Friday, 17. April 2009, 11:54:33
If you find that Eclipse is incredibly crashy on the 64bit Linux HotSpot JVM, then try adding these two lines to your eclipse.ini file:
I concluded this by scoping out the hs_err_pid* files that HotSpot produces when it crashes, and in these files you can spy something like the following:
It basically says that the JIT crashes trying to compile that method, and the solution is to prevent it from being JITted.
-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith -XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init>
I concluded this by scoping out the hs_err_pid* files that HotSpot produces when it crashes, and in these files you can spy something like the following:
Current CompileTask: C2:484 org.eclipse.core.internal.dtree.DataTreeNode.forwardDeltaWith([Lorg/eclipse/core/internal/dtree/AbstractDataTreeNode;[Lorg/eclipse/core/internal/dtree/AbstractDataTreeNode;Lorg/eclipse/core/internal/dtree/IComparator;)[Lorg/eclipse/core/internal/dtree/AbstractDataTreeNode; (469 bytes)
It basically says that the JIT crashes trying to compile that method, and the solution is to prevent it from being JITted.

