RFR(XS): 8073754: Zero/PPC: StackOverflowError during build in javadoc processing.

David Holmes david.holmes at oracle.com
Thu Jul 30 04:49:53 UTC 2015

Hi Severin,

On 29/07/2015 11:09 PM, Severin Gehwolf wrote:
> Hi,
> Could somebody please review and sponsor this Zero-only change?
> It fixes a build problem of OpenJDK 9 Zero on PPC64. That architecture
> seems to be notoriously stack hungry and needs an increased minimal
> stack in order to build and self-build JDK 9.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8073754
> Webrev: http://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8073754/webrev.02/


I'm not clear how this:

size_t os::Linux::min_stack_allowed = 2240 * K;

relates to all the values specified in the header file ??

Overall changing the default stacksizes for all threads this way seems 
somewhat excessive to me - do you really need it for every Java 
application? If builds are just the issue, and javadoc invocations in 
particular, I would adjust the build settings.


More information about the hotspot-dev mailing list