diff options
Diffstat (limited to 'usr/src/man/man3malloc/mtmalloc.3malloc')
-rw-r--r-- | usr/src/man/man3malloc/mtmalloc.3malloc | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/usr/src/man/man3malloc/mtmalloc.3malloc b/usr/src/man/man3malloc/mtmalloc.3malloc index 4a4ab93b51..1ca7a31fd8 100644 --- a/usr/src/man/man3malloc/mtmalloc.3malloc +++ b/usr/src/man/man3malloc/mtmalloc.3malloc @@ -3,7 +3,7 @@ .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH mtmalloc 3MALLOC "21 Mar 2005" "SunOS 5.11" "Memory Allocation Library Functions" +.TH MTMALLOC 3MALLOC "Mar 21, 2005" .SH NAME mtmalloc, mallocctl \- MT hot memory allocator .SH SYNOPSIS @@ -104,12 +104,10 @@ library. The options fall into two general classes, debugging options and performance options. .sp .ne 2 -.mk .na \fB\fBMTDOUBLEFREE\fR\fR .ad .RS 18n -.rt Allows double \fBfree\fR of a pointer. Setting \fIvalue\fR to \fB1\fR means yes and \fB0\fR means no. The default behavior of double \fBfree\fR results in a core dump. @@ -117,12 +115,10 @@ a core dump. .sp .ne 2 -.mk .na \fB\fBMTDEBUGPATTERN\fR\fR .ad .RS 18n -.rt Writes misaligned data into the buffer after \fBfree()\fR. When the buffer is reallocated, the contents are verified to ensure that there was no access to the buffer after the \fBfree\fR. If the buffer has been dirtied, a @@ -134,12 +130,10 @@ option results in a performance penalty. .sp .ne 2 -.mk .na \fB\fBMTINITBUFFER\fR\fR .ad .RS 18n -.rt Writes misaligned data into the newly allocated buffer. This option is useful for detecting some accesses before initialization. Setting \fIvalue\fR to \fB1\fR means yes and \fB0\fR means no. The default behavior is to \fInot\fR @@ -149,12 +143,10 @@ write misaligned data to the newly allocated buffer. The pattern used is .sp .ne 2 -.mk .na \fB\fBMTCHUNKSIZE\fR\fR .ad .RS 18n -.rt This option changes the size of allocated memory when a pool has exhausted all available memory in the buffer. Increasing this value allocates more memory for the application. A substantial performance gain can occur because the @@ -182,24 +174,20 @@ be set to indicate the error. The \fBmalloc()\fR and \fBrealloc()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt The physical limits of the system are exceeded by \fIsize\fR bytes of memory which cannot be allocated. .RE .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt There is not enough memory available to allocate \fIsize\fR bytes of memory; but the application could try again later. .RE @@ -217,13 +205,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO |