Minimum stack size..

Steve Poole spoole at linux.vnet.ibm.com
Wed Apr 17 09:30:26 PDT 2013


hi.  we are  working though the last remaining jtreg test failures for PPCAIX. 

I have some that are failing on Linux PPC as the  test explicitly sets the minimum stack size  to "-Xss256k" . The VM then fails to launch with the usual error 

The stack size specified is too small, Specify at least 1920k
  Error: Could not create the Java Virtual Machine.
  Error: A fatal exception has occurred. Program will exit.


So I can adjust the stack size in the testcases to suit this number or remove it altogether.  But...

1 - This number of 1920k seems a trifle  excessive  - is it something I'm doing wrong in building hotspot or is this actually a reasonable number?
2 - Since it seems from reading the hotspot code that this number is calculated is there any Java API I can use to get this number so I can make the tests more flexible?


Cheers



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/attachments/20130417/908cdfbd/attachment.html 


More information about the ppc-aix-port-dev mailing list