Currently Being Moderated

[Linux] IntelliJ IDEA crashes silently when running under JDK 1.6.0_18

VERSION 2

Created on: Mar 10, 2010 6:47 PM by Serge Baranov - Last Modified:  Sep 7, 2011 2:30 PM by Serge Baranov

The problem occurs with the recent JDK 1.6.0_18 update and is mentioned in the Known Issues of the JDK release notes:

  • Card-Marking Optimization Issue
  • A flaw in the implementation of a card-marking performance optimization in the JVM can cause heap corruption under some circumstances. This issue affects the CMS garbage collector prior to 6u18, and the CMS, G1 and Parallel Garbage Collectors in 6u18. The serial garbage collector is not affected. Applications most likely to be affected by this issue are those that allocate very large objects which would not normally fit in Eden, or those that make extensive use of JNI Critical Sections (JNI Get/Release*Critical).

    This issue will be fixed in the next Java SE 6 update.

    Meanwhile, as a workaround to the issue, users should disable this performance optimization by -XX:-ReduceInitialCardMarks.

    Refer to 6896647 and 6888898.

In IntelliJ IDEA you can add this option in the IDEA_HOME\bin\idea.vmoptions (or idea.exe.vmoptions if you are on Windows), however it seems to affect only Linux users.
This bug is logged as IDEA-52404 in our tracker.
Average User Rating
(1 rating)




Wieland.Tian Wieland.Tian  says:

That's very important.

I am using 6u18.