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

Thomas Schatzl thomas.schatzl at oracle.com
Wed Mar 6 11:44:27 PST 2013


Hi,

On Wed, 2013-03-06 at 20:31 +0100, Uwe Schindler wrote:
> Hi,
> > > >> Uwe:
> > > Use:  -XX:MarkStackSize=4M to increase the marking stack size in a 32 bit
> > run.
> > 
> > I will give it a quick try!
> 
> 4M was too much for a 32bit JVM (it complained about it), but 2M was fine. With that setting the tests went through as they should (in 22 secs on this server). With the default setting it stalled endless.
> 

Maybe you have to set -XX:MaxMarkStackSize as well, but it does not
matter now I guess.

> To test the inverse (make 64 bit hang): What's the default stack size of 32 bit JVMs, so I can set it on 64 bit to make it hang?
> 

Use -XX:+PrintFlagsFinal on the 32 bit VM to get this value. The flag
prints a list of all effective flag values after option processing.

Hth,
Thomas
 



More information about the hotspot-gc-dev mailing list