lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Now I am looking for a library that does exactly that. This means it must be able to
> create different allocation-contexts with corresponding malloc/free interface.
> Does anybody know of such a library?

I think mmalloc does what you need:
	http://www.math.utah.edu/docs/info/mmalloc_toc.html

mmalloc used to be part of gdb. See for instance
	http://www.opensource.apple.com/source/gdb/gdb-413/src/mmalloc/

Apparently it was removed in gdb 6.1 after being introduced in gdb 4.5.