Implement configuration system.

Implement minimal Makefile.

Make compile-time-optional jemalloc features controllable via configure
options (debug, stats, tiny, mag, balance, dss).

Conditionally exclude most of the opt_* run-time options, based on configure
options (fill, xmalloc, sysv).

Implement optional --enable-dynamic-page-shift.

Implement optional --enable-lazy-lock.

Re-order malloc_init_hard() and use the malloc_initializer variable to support
recursive allocation in malloc_ncpus().

Add mag_rack_tsd in order to receive notifications of thread termination.

Add jemalloc.h.
This commit is contained in:
Jason Evans
2009-06-23 19:01:18 -07:00
parent 4450b830b6
commit b7924f50c0
14 changed files with 4460 additions and 351 deletions

11
.hgignore Normal file
View File

@@ -0,0 +1,11 @@
syntax: glob
syntax: regexp
^jemalloc/autom4te\.cache
^jemalloc/cfg(hdrs|outputs)\.stamp$
^jemalloc/config\.(log|status)$
^jemalloc/configure$
^jemalloc/lib$
^jemalloc/Makefile$
^jemalloc/src/jemalloc_defs\.h$
^jemalloc/src/[a-z]+.o$