summaryrefslogtreecommitdiffstats
path: root/src/jemalloc_cpp.cpp
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2014-01-21 22:59:40 (GMT)
committerJason Evans <jasone@canonware.com>2014-01-21 22:59:40 (GMT)
commit898960247a8b2e6534738b7a3a244855f379faf9 (patch)
tree015c344cb5cabbf7362707f5600d37563425c2ed /src/jemalloc_cpp.cpp
parente2206edebcce662e3979c68ba182d0bcf38141ba (diff)
downloadjemalloc-898960247a8b2e6534738b7a3a244855f379faf9.zip
jemalloc-898960247a8b2e6534738b7a3a244855f379faf9.tar.gz
jemalloc-898960247a8b2e6534738b7a3a244855f379faf9.tar.bz2
Subvert tail call optimization in backtrace test.
Re-structure alloc_[01](), which are mutually tail-recursive functions, to do (unnecessary) work post-recursion so that the compiler cannot perform tail call optimization, thus preserving intentionally unique call paths in captured backtraces.
Diffstat (limited to 'src/jemalloc_cpp.cpp')
0 files changed, 0 insertions, 0 deletions