RFR(XS): 8204652: [aix] fix thread stack allocation, too big stack sizes not recognized

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Sun Jun 10 15:33:52 UTC 2018


This fixes a crash in thread creation with too big stack sizes
Please review.

For Java and Compiler threads the return code of pthread_attr_setstacksize 
 is overwritten. If pthread_attr_setstacksize does not succeed, a tiny 
 stack size with not enough space for the yellow/red pages is allocated. 
 VM crashes with SIGSEGV right away.

Best regards,

More information about the hotspot-runtime-dev mailing list