Lets you specify an alternate algorithm for malloc().
IA-32, Intel® 64 architectures
Linux and Mac OS X: | -opt-malloc-options=n |
Windows: | None |
n |
Specifies the algorithm to use for malloc(). Possible values are:
|
-opt-malloc-options=0 |
The compiler uses the default algorithm when malloc() is called. No call is made to mallopt(). |
This option lets you specify an alternate algorithm for malloc().
If you specify a non-zero value for n, it causes alternate configuration parameters to be set for how malloc() allocates and frees memory. It tells the compiler to insert calls to mallopt() to adjust these parameters to malloc() for dynamic memory allocation. This may improve speed.
None
malloc(3) man page
mallopt function (defined in malloc.h)
Copyright © 1996-2010, Intel Corporation. All rights reserved.