RFR: 8170307: Stack size option -Xss is ignored
david.holmes at oracle.com
Mon Nov 28 21:25:50 UTC 2016
On 29/11/2016 6:01 AM, dean.long at oracle.com wrote:
> Hi David,
> On 11/25/16 2:38 AM, David Holmes wrote:
>> However, the stack size limitations remained in place in case the VM
>> was launched from the primordial thread of a user application via the
>> JNI invocation API.
> why is the JNI invocation API no longer a problem? Does it create a new
> thread like the launcher?
No, the JNI invocation API is unchanged. What has changed now are the
conditions that required the 2MB limit due to the behaviour of the
thread library (this goes back to LinuxThreads and the IA64 port).
More information about the hotspot-dev