Commit graph

8 commits

Author SHA1 Message Date
Gregory Burd
f8c1c0e968 Initial merge from Joyent including the vmem_allocator strategy additions. 2012-03-17 11:32:48 -04:00
Wez Furlong
b9dc821378 move umem_startup constructor to the umem .so itself, rather than
the malloc replacement.

Rename ec_atomic to umem_atomic.

Add a posix_memalign function.

-ldl isn't universal; make a configure check for it.
2010-06-26 13:10:39 +00:00
Wez Furlong
49b7cfb4d4 Apparently, the glibc malloc hooks are now deprecated due to thread safety
issues, so we simply eliminate the glibc specific code from our malloc
preload to resolve this issue.
2010-04-30 21:31:37 +00:00
Wez Furlong
b2ee64fc04 correct the parameter ordering for the memalign hook on glibc systems 2010-04-06 00:45:32 +00:00
Wez Furlong
41bc866d58 be more libc friendly when replacing malloc().
Use our own getenv() on glibc platforms, as the glibc implementation calls
malloc() internally.  This allows the use of env vars to enable debugging modes
in the app.
2007-03-18 01:37:02 +00:00
Devon H. O'Dell
7b6452aa2d Insert bits to allow successful compilation (and apparent success in
running) on FreeBSD.
2006-10-13 18:03:34 +00:00
Richard Dawe
29bf7f3e03 Add --enable-malloc-replacement option, for using libumem as a malloc replacement 2006-09-03 12:48:23 +00:00
Wez Furlong
d7fe11594f Initial revision 2006-03-10 02:45:59 +00:00