On linux, pthread_attr_setstacksize succeeds if called huge values, but pthread_create() then fails. On Aix, pthread_attr_setstacksize fails if passed a value exceeding the limits and leaves the minimal system thread stack size in attr. Thus thread creation succeeds and leads to crashes after thread creation when the guard pages shall be protected but don't fit on the tiny stack created.
- relates to
-
JDK-8145537 [aix] Ensure that non-Java-Thread have guard pages
-
- Closed
-