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

Volker Simonis volker.simonis at gmail.com
Thu Jul 30 08:46:25 UTC 2015


Why can't you simply use:

  --with-boot-jdk-jvmargs specify JVM arguments to be passed to all java
                          invocations of boot JDK, overriding the default
                          values, e.g --with-boot-jdk-jvmargs="-Xmx8G
                          -enableassertions"

with the corresponding stack settings?


On Thu, Jul 30, 2015 at 6:49 AM, David Holmes <david.holmes at oracle.com> wrote:
> 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/
>
>
> src/os_cpu/linux_zero/vm/os_linux_zero.cpp
>
> 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.
>
> Cheers,
> David


More information about the hotspot-dev mailing list