libmtmalloc(3LIB) Interface Libraries libmtmalloc(3LIB)NAME
libmtmalloc - multi-threaded memory allocator library
SYNOPSIS
cc [ flag... ] file... -lmtmalloc [ library... ]
#include <mtmalloc.h>
DESCRIPTION
Functions in this library provide concurrent access to heap space.
INTERFACES
The shared object libmtmalloc.so.1 provides the public interfaces defined below. See intro(3) for additional information on shared object
interfaces.
free malloc
mallocctl memalign
realloc valloc
FILES
/usr/lib/libmtmalloc.so.1 shared object
/usr/lib/64/libmtmalloc.so.1 64-bit shared object
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsl (32-bit) |
+-----------------------------+-----------------------------+
| |SUNWcslx (64-bit) |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO pvs(1), sbrk(2), intro(3), malloc(3C), malloc(3MALLOC), mapmalloc(3MALLOC), mtmalloc(3MALLOC), attributes(5)SunOS 5.10 22 May 2003 libmtmalloc(3LIB)
Check Out this Related Man Page
libmapmalloc(3LIB) Interface Libraries libmapmalloc(3LIB)NAME
libmapmalloc - alternative memory allocator library
SYNOPSIS
cc [ flag... ] file... -lmapmalloc [ library... ]
#include <stdlib.h>
DESCRIPTION
Functions in this library provide malloc routines that use mmap(2) instead of sbrk(2) for acquiring heap space.
INTERFACES
The shared object libmapmalloc.so.1 provides the public interfaces defined below. See intro(3) for additional information on shared object
interfaces.
calloc cfree
free mallinfo
malloc mallopt
memalign realloc
valloc
FILES
/usr/lib/libmapmalloc.so.1 shared object
/usr/lib/64/libmapmalloc.so.1 64-bit shared object
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsl (32-bit) |
+-----------------------------+-----------------------------+
| |SUNWcslx (64-bit) |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO pvs(1), mmap(2), sbrk(2), intro(3), malloc(3C), malloc(3MALLOC), mapmalloc(3MALLOC), attributes(5)SunOS 5.10 22 May 2003 libmapmalloc(3LIB)
Hi all,
I have written the following program and run on both T5440 and T5220 on same OS version. I found that T5540 server takes more time than T5220. Please find below the details.
test1.cpp
#include <iostream>
#include <pthread.h>
using namespace std;
#define NUM_OF_THREADS 20... (17 Replies)
We are migrating Pro*C code from SOLARIS to LINUX-Redhat.
While migrating we face memory de-allocation issue intermittently when accessing large volume of data.
Below is the part of the code(since code is big I am putting the part of the code where the issue comes):
... (8 Replies)