The following items are additional enhancements to the OpenMP API in Oracle Solaris Studio.
New Default Number of Threads. -The default number of threads used to execute a parallel region has changed from two threads to the number of cores available on the machine, capped at 32.
Stack Overflow Detection and Diagnosis - The existing C, C++, and Fortran compiler option –xcheck=stkovf has been extended to optionally enable runtime error diagnosis.
The syntax is as follows:
–xcheck=stkovf [:detect | :diagnose]
If :detect is specified, a detected stack overflow error is handled by executing the signal handler normally associated with the error.
If :diagnose is specified, a detected stack overflow error is handled by catching the associated signal and calling stack_violation(3C) to diagnose the error. If a stack overflow error is diagnosed, an error message is printed to stderr. This is the default behavior if nothing is specified.
See the cc(1), CC(1), or f95(1) man page for more information about the –xcheck=stkovf compiler option.