diff options
| author | Jason Evans <jasone@canonware.com> | 2014-01-21 22:59:40 (GMT) |
|---|---|---|
| committer | Jason Evans <jasone@canonware.com> | 2014-01-21 22:59:40 (GMT) |
| commit | 898960247a8b2e6534738b7a3a244855f379faf9 (patch) | |
| tree | 015c344cb5cabbf7362707f5600d37563425c2ed /src/jemalloc_cpp.cpp | |
| parent | e2206edebcce662e3979c68ba182d0bcf38141ba (diff) | |
| download | jemalloc-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
