commit | 7013d10a9e8e1a183542111747dc9c324560975a | [log] [tgz] |
---|---|---|
author | Jason Evans <je@facebook.com> | Tue May 11 18:17:02 2010 -0700 |
committer | Jason Evans <je@facebook.com> | Tue May 11 18:17:02 2010 -0700 |
tree | fbc8138b51d2bd96b207ab7ece413a46a17bbf3a | |
parent | ed3d152ea0aa39169a9629962a40c58e67b0b532 [diff] |
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.