diff options
| author | Jason Evans <je@facebook.com> | 2010-05-12 01:17:02 (GMT) |
|---|---|---|
| committer | Jason Evans <je@facebook.com> | 2010-05-12 01:17:02 (GMT) |
| commit | 7013d10a9e8e1a183542111747dc9c324560975a (patch) | |
| tree | fbc8138b51d2bd96b207ab7ece413a46a17bbf3a /test/integration/aligned_alloc.c | |
| parent | ed3d152ea0aa39169a9629962a40c58e67b0b532 (diff) | |
| download | jemalloc-7013d10a9e8e1a183542111747dc9c324560975a.zip jemalloc-7013d10a9e8e1a183542111747dc9c324560975a.tar.gz jemalloc-7013d10a9e8e1a183542111747dc9c324560975a.tar.bz2 | |
Avoid unnecessary isalloc() calls.
When heap profiling is enabled but deactivated, there is no need to call
isalloc(ptr) in prof_{malloc,realloc}(). Avoid these calls, so that
profiling overhead under such conditions is negligible.
Diffstat (limited to 'test/integration/aligned_alloc.c')
0 files changed, 0 insertions, 0 deletions
