JVM segfault

Alan Stange astange at gmail.com
Tue Feb 14 07:25:50 PST 2012


All,

I've been able to make the JVM segfault fairly reliably when using TieredCompilation.  I reported this as bugid 7090802.    

# Problematic frame:
# V  [libjvm.so+0x1aa058][thread -1705837712 also had an error]
  GraphBuilder::GraphBuilder(Compilation*, IRScope*)+0x378

I haven't been able to have a bullet proof way to make this fail.   However, starting Intellij so that it has to re-index the source code base seems to work reliably.    It fails on a single CPU virtualbox instance,  dual cpu, 8 cpu and 16cpu systems.   It's failing on Ubuntu, Suse 11.2 and 11.4 systems.   

This isn't that big of a deal as I just turn off TieredCompilation.   I'm taking the time to point this problem out though as I think TieredCompilation is great and want to see it be bullet proof.    I have never had an issue using either the server or client compiler without TieredCompilation.    I have also tried tweaking Tier2CompileTheshold up to 50000 and that didn't seem to make a difference either.    With PrintCompilation enabled I can see that it's failing after about 14000 methods are compiled with the C1 compiler.

So, my apologies for posting this here.   How can I help resolve this issue?

I tried jdk8 as well, but there are some other xrender related issues with jdk8 and intellij, so I don't know if the same issue exists there.

-- Alan




More information about the jdk7u-dev mailing list