March 2004
Intermediate to advanced
560 pages
14h 38m
English
For the “C” language, process private and thread global memory can be allocated via the malloc() library call. HP-UX will allocate the requested memory using the largest pages possible based on the general large page parameters set up in the kernel or via the process's large page parameters. HP-UX provides the mallopt() call and environment variables to control the performance of the malloc() routine.
The mallopt call allows the application to modify the way the malloc() function works. The important options that can be set via mallopt() are M_MXFAST, M_NMBLKS, and M_GRAIN, which control a feature known as small block allocation.
Setting the M_MXFAST option indicates that all requests below M_MXFAST bytes ...
Read now
Unlock full access