| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Get rid of most of the various inline macros. | David Goldblatt | 2017-04-24 | 1 | -1/+0 |
| | | |||||
| * | Move CPP_PROLOGUE and CPP_EPILOGUE to the .cpp | David Goldblatt | 2017-04-19 | 1 | -0/+8 |
| | | | | | This lets us avoid having to specify them in every C file. | ||||
| * | Header refactoring: Split up jemalloc_internal.h | David Goldblatt | 2017-04-11 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | This is a biggy. jemalloc_internal.h has been doing multiple jobs for a while now: - The source of system-wide definitions. - The catch-all include file. - The module header file for jemalloc.c This commit splits up this functionality. The system-wide definitions responsibility has moved to jemalloc_preamble.h. The catch-all include file is now jemalloc_internal_includes.h. The module headers for jemalloc.c are now in jemalloc_internal_[externs|inlines|types].h, just as they are for the other modules. | ||||
| * | Replace tabs following #define with spaces. | Jason Evans | 2017-01-21 | 1 | -1/+1 |
| | | | | | This resolves #564. | ||||
| * | Remove extraneous parens around return arguments. | Jason Evans | 2017-01-21 | 1 | -6/+6 |
| | | | | | This resolves #540. | ||||
| * | Update brace style. | Jason Evans | 2017-01-21 | 1 | -22/+11 |
| | | | | | | | | Add braces around single-line blocks, and remove line breaks before function-opening braces. This resolves #537. | ||||
| * | Add nullptr support to sized delete operators. | Jason Evans | 2017-01-17 | 1 | -0/+6 |
| | | |||||
| * | Fix style nits. | Jason Evans | 2017-01-17 | 1 | -19/+18 |
| | | |||||
| * | Remove leading blank lines from function bodies. | Jason Evans | 2017-01-13 | 1 | -10/+0 |
| | | | | | This resolves #535. | ||||
| * | Fix indentation. | Jason Evans | 2017-01-13 | 1 | -1/+1 |
| | | |||||
| * | jemalloc cpp new/delete bindings | Dave Watson | 2016-12-13 | 1 | -0/+140 |
| Adds cpp bindings for jemalloc, along with necessary autoconf settings. This is mostly to add sized deallocation support, which can't be added from C directly. Sized deallocation is ~10% microbench improvement. * Import ax_cxx_compile_stdcxx.m4 from the autoconf repo, seems like the easiest way to get c++14 detection. * Adds various other changes, like CXXFLAGS, to configure.ac. * Adds new rules to Makefile.in for src/jemalloc-cpp.cpp, and a basic unittest. * Both new and delete are overridden, to ensure jemalloc is used for both. * TODO future enhancement of avoiding extra PLT thunks for new and delete - sdallocx and malloc are publicly exported jemalloc symbols, using an alias would link them directly. Unfortunately, was having trouble getting it to play nice with jemalloc's namespace support. Testing: Tested gcc 4.8, gcc 5, gcc 5.2, clang 4.0. Only gcc >= 5 has sized deallocation support, verified that the rest build correctly. Tested mac osx and Centos. Tested --with-jemalloc-prefix and --without-export. This resolves #202. | |||||
