Sun Studio 12 Update 1: C++ User's Guide

A.2.161 -xpagesize_stack=n

Set the page size in memory for the stack.

A.2.161.1 Values

n can be 4k, 8K, 64K, 512K, 2M, 4M, 32M, 256M, 2G, 16G, or default. You must specify a valid page size for the target platform. If you do not specify a valid page size, the request is silently ignored at run-time.

Use the getpagesize(3C) command on the Solaris operating system to determine the number of bytes in a page. The Solaris operating system offers no guarantee that the page size request will be honored. You can use pmap(1) or meminfo(2) to determine page size of the target platform.

Defaults

If you specify -xpagesize_stack=default, the Solaris operating system sets the page size.

Warnings

The -xpagesize_stack option has no effect unless you use it at compile time and at link time.

See Also

Compiling with this option has the same effect as setting the LD_PRELOAD environment variable to mpss.so.1 with the equivalent options, or running the Solaris command ppgsz(1) with the equivalent options before running the program. See the Solaris man pages for details.