Request for reviews (XXXS): 7106907: 64 bit VM fails test compiler/6865265/StackOverflowBug.java
Vladimir Kozlov
vladimir.kozlov at oracle.com
Mon Oct 31 17:45:53 PDT 2011
Hi Volker,
It is known requirement from long time ago to have larger min stack size for 64
bit VM since it has bigger pointers:
% jdk/1.6/bin/java -d64 -Xss128k -version
The stack size specified is too small, Specify at least 224k
Could not create the Java virtual machine.
% jdk/1.6/bin/java -d64 -Xss224k -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)
It was my mistake that I did not run this test with 64 bit VM when I applied
your fix.
Regards,
Vladimir
Volker Simonis wrote:
> Hi Vladimir,
> the Test was just intended to provoke a stack overflow as fast as possible.
> Just out of curiosity: why did the test fail? It didn't see that the
> min_stack requirements
> changed. Is it because you run the tests on a machine with big page sizes?
>
> Otherwise the change is of course ok.
>
> Regards,
> Volker
>
> On Monday, October 31, 2011, Vladimir Kozlov <vladimir.kozlov at oracle.com
> <mailto:vladimir.kozlov at oracle.com>> wrote:
> > http://cr.openjdk.java.net/~kvn/7106907/webrev
> >
> > 7106907: 64 bit VM fails test compiler/6865265/StackOverflowBug.java
> >
> > Use -Xss224k instead of -Xss128k.
> >
> > Thanks,
> > Vladimir
> >
More information about the hotspot-compiler-dev
mailing list