jemalloc/src
David Goldblatt 209f2926b8 Header refactoring: tsd - cleanup and dependency breaking.
This removes the tsd macros (which are used only for tsd_t in real builds).  We
break up the circular dependencies involving tsd.

We also move all tsd access through getters and setters.  This allows us to
assert that we only touch data when tsd is in a valid state.

We simplify the usages of the x macro trick, removing all the customizability
(get/set, init, cleanup), moving the lifetime logic to tsd_init and tsd_cleanup.
This lets us make initialization order independent of order within tsd_t.
2017-05-01 10:49:56 -07:00
..
arena.c Add extent_destroy_t and use it during arena destruction. 2017-04-29 09:24:12 -07:00
base.c Header refactoring: move assert.h out of the catch-all 2017-04-18 18:35:03 -07:00
bitmap.c Revert "Remove BITMAP_USE_TREE." 2017-04-18 19:01:04 -07:00
ckh.c Header refactoring: hash - unify and remove from catchall. 2017-04-25 09:51:38 -07:00
ctl.c Refactor !opt.munmap to opt.retain. 2017-04-29 09:24:12 -07:00
extent.c Add extent_destroy_t and use it during arena destruction. 2017-04-29 09:24:12 -07:00
extent_dss.c Header refactoring: unify spin.h and move it out of the catch-all. 2017-04-18 18:35:03 -07:00
extent_mmap.c Refactor !opt.munmap to opt.retain. 2017-04-29 09:24:12 -07:00
hash.c Header refactoring: Split up jemalloc_internal.h 2017-04-11 11:52:30 -07:00
hooks.c Header refactoring: Split up jemalloc_internal.h 2017-04-11 11:52:30 -07:00
jemalloc.c Header refactoring: tsd - cleanup and dependency breaking. 2017-05-01 10:49:56 -07:00
jemalloc_cpp.cpp Get rid of most of the various inline macros. 2017-04-24 10:33:21 -07:00
large.c Refactor !opt.munmap to opt.retain. 2017-04-29 09:24:12 -07:00
malloc_io.c Header refactoring: move util.h out of the catchall 2017-04-18 18:35:03 -07:00
mutex.c Implement malloc_mutex_trylock() w/ proper stats update. 2017-04-24 13:23:55 -07:00
nstime.c Enable -Wundef, when supported. 2017-04-21 17:03:56 -07:00
pages.c Header refactoring: pages.h - unify and remove from catchall. 2017-04-25 09:51:38 -07:00
prng.c Header refactoring: Split up jemalloc_internal.h 2017-04-11 11:52:30 -07:00
prof.c Header refactoring: tsd - cleanup and dependency breaking. 2017-05-01 10:49:56 -07:00
rtree.c Header refactoring: tsd - cleanup and dependency breaking. 2017-05-01 10:49:56 -07:00
spin.c Header refactoring: unify spin.h and move it out of the catch-all. 2017-04-18 18:35:03 -07:00
stats.c Refactor !opt.munmap to opt.retain. 2017-04-29 09:24:12 -07:00
tcache.c Header refactoring: tsd - cleanup and dependency breaking. 2017-05-01 10:49:56 -07:00
ticker.c Header refactoring: Split up jemalloc_internal.h 2017-04-11 11:52:30 -07:00
tsd.c Header refactoring: tsd - cleanup and dependency breaking. 2017-05-01 10:49:56 -07:00
witness.c Header refactoring: move assert.h out of the catch-all 2017-04-18 18:35:03 -07:00
zone.c Header refactoring: move assert.h out of the catch-all 2017-04-18 18:35:03 -07:00