DynamoRIO / DynamoRIO/drmemory

malloc callstack perf: lazy module lookups

Open
#75 1 comment 0 reactions 0 assignees View on GitHub
Migrated Performance Priority-Low Type-Feature
Dominant language
C
Stars
2.7k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

_From [bruen...@google.com](https://code.google.com/u/109494838902877177630/) on December 01, 2010 09:48:55_

/\* XXX: when the app has a ton of mallocs that are quickly freed,
\* we spend a lot of time building and tearing down callstacks
\* (xref my original setup of not showing leak callstacks by default
\* which was for this reason and to save space: but for usability
\* it's better to have leak callstacks by default).
\* We could just record addresses and not modules, and only on
\* module unload or app exit walk the malloc table and fill
\* in the module info (and if too many unloads, switch to the
\* every-alloc scheme).
*/

_Original issue: http://code.google.com/p/drmemory/issues/detail?id=75_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.