summaryrefslogtreecommitdiffstats
path: root/include/jemalloc/internal/prof_externs.h
Commit message (Collapse)AuthorAgeFilesLines
* Header refactoring: unify and de-catchall mutex moduleDavid Goldblatt2017-05-241-0/+2
|
* Stop depending on JEMALLOC_N() for function interception during testing.Jason Evans2017-05-121-37/+40
| | | | | | Instead, always define function pointers for interceptable functions, but mark them const unless testing, so that the compiler can optimize out the pointer dereferences.
* Added lock profiling and output for global locks (ctl, prof and base).Qi Wang2017-03-231-0/+2
|
* Push down iealloc() calls.Jason Evans2017-03-231-2/+2
| | | | | Call iealloc() as deep into call chains as possible without causing redundant calls.
* Convert arena->prof_accumbytes synchronization to atomics.Jason Evans2017-02-161-0/+1
|
* Fix prof_realloc() regression.Jason Evans2017-01-171-1/+2
| | | | | | | | | | | | | | Mostly revert the prof_realloc() changes in 498856f44a30b31fe713a18eb2fc7c6ecf3a9f63 (Move slabs out of chunks.) so that prof_free_sampled_object() is called when appropriate. Leave the prof_tctx_[re]set() optimization in place, but add an assertion to verify that all eight cases are correctly handled. Add a comment to make clear the code ordering, so that the regression originally fixed by ea8d97b8978a0c0423f0ed64332463a25b787c3d (Fix prof_{malloc,free}_sample_object() call order in prof_realloc().) is not repeated. This resolves #499.
* Break up headers into constituent partsDavid Goldblatt2017-01-121-0/+83
This is part of a broader change to make header files better represent the dependencies between one another (see https://github.com/jemalloc/jemalloc/issues/533). It breaks up component headers into smaller parts that can be made to have a simpler dependency graph. For the autogenerated headers (smoothstep.h and size_classes.h), no splitting was necessary, so I didn't add support to emit multiple headers.