summaryrefslogtreecommitdiffstats
path: root/include/jemalloc/internal/hooks.h
Commit message (Collapse)AuthorAgeFilesLines
* Add basic reentrancy-checking support, and allow arena_new to reenter.David Goldblatt2017-04-071-2/+2
| | | | | | | | | This checks whether or not we're reentrant using thread-local data, and, if we are, moves certain internal allocations to use arena 0 (which should be properly initialized after bootstrapping). The immediate thing this allows is spinning up threads in arena_new, which will enable spinning up background threads there.
* Add hooking functionalityDavid Goldblatt2017-04-071-0/+19
This allows us to hook chosen functions and do interesting things there (in particular: reentrancy checking).