JVM hanging when using G1GC on JDK8 b78 or b79 (Linux 32 bit)

John Cuthbertson john.cuthbertson at oracle.com
Wed Mar 6 18:56:06 UTC 2013


Hi Uwe,

You must have been reading my mind. See inline....

On 3/6/2013 10:50 AM, Uwe Schindler wrote:
> Hi John,
>
> Thanks for the response and the analysis, very informative!
>
>> Uwe:
>> Thanks for bringing this up and my apologies for not replying sooner. I will
>> have a fix fairly soon. If I'm correct about it being caused by overflowing the
>> marking stack you can work around the issue by increasing the
>> MarkStackSize.you could try increasing it to 2M or 4M entries (which is the
>> current max size).
> Is there a setting on the command line to raise this size? This would be great to check out if one can also do the opposite (lower the size on 64 bit JVM to make the 64 bit one also hang). Unfortunately as a Java programmer I am not so familiar with building the JVM on Ubuntu machines (including the needed IcedTea), so it's hard to me to try this out - I would not even know how to start doing this or finally how to get something like a standard JDK directory so you could use it as JAVA_HOME.

Use:  -XX:MarkStackSize=4M to increase the marking stack size in a 32 
bit run.

> If you need a verification that your patch is working, it would be good to get a i586 Linux tgz file with a binary, so I can do a quick check on the Jenkins server that found the bug. Otherwise we would need to wait until a new build appears on jdk8.java.net (including the fix + other fixes in javadoc/javac tool and the class library that we reported earlier).
>
> I could also assist in setting up a Lucene build directory (as reported on the first email), to reproduce the problem with the Lucene source code (which is very easy). As said before, I have no isolated test case :(
>

I just sent you email. I downloaded a zip file that contains all the jar 
files. I don't have ant on my system so ideally I'm looking for a java 
command line to tickle the crash. Can you help?

Thanks,

JohnC



More information about the hotspot-gc-dev mailing list