[8u] Request for approval 8170307: Stack size option -Xss is ignored
David Holmes
david.holmes at oracle.com
Tue Dec 20 00:10:34 UTC 2016
Bug: https://bugs.openjdk.java.net/browse/JDK-8170307 (not public)
This change removes an ancient workaround that limited the usable stack
of the primordial process thread to 2MB. This only affects applications
that use the JNI invocation API to load the VM in the primordial process
thread. The stack size will now be controlled by the -Xss stack option
and the OS limit (specified through rlimit). In the corner case where no
Java stack size is specified and rlimit is unlimited, then we impose a
8MB limit as done on Solaris.
JDK 9 changeset: http://hg.openjdk.java.net/jdk9/hs/hotspot/rev/3abc9ec542ab
8u webrev: http://cr.openjdk.java.net/~dholmes/8170307/webrev.8u/
As the patch did not apply directly due to the amount of change in the
file in JDK 9 I had it re-reviewed here:
http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2016-December/022151.html
Thanks,
David
More information about the jdk8u-dev
mailing list