Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

malloc callstack perf: lazy module lookups #75

Open
derekbruening opened this issue Nov 28, 2014 · 1 comment
Open

malloc callstack perf: lazy module lookups #75

derekbruening opened this issue Nov 28, 2014 · 1 comment

Comments

@derekbruening
Copy link
Contributor

From bruen...@google.com 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant