Hi, It looks like Solaris has two Memory management functions for malloc() and related functions. Solaris provides malloc() and related functions through `libc.a'.
However libc.a does not provide APIs like mallinfo & mallop() for memory instrumentation. It looks as though libc does not include mallinfo, but that an extended library (actually /usr/ccs/lib/libmalloc.*) includes mallinfo.Also this libmalloc libary has it's own malloc() & related functions. Currently my product code is implemented using malloc(), memallign() from glibc on Linux & subsequently ported to Solaris using libc.However memory instrumentation is not possible through libc. because mallinfo is missing in libc. So we tried to link the existing code with libmalloc , However the code execution crashes during memory deallocation/free. I want to know if it's possible to use malloc() & related functions from libc & mallinfo from libmalloc at the sametime. Thanks Manoj Nayak Sun Streaming System _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
