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

delay start of memory checking #130

Open
derekbruening opened this issue Nov 28, 2014 · 3 comments
Open

delay start of memory checking #130

derekbruening opened this issue Nov 28, 2014 · 3 comments

Comments

@derekbruening
Copy link
Contributor

From derek.br...@gmail.com on December 10, 2010 17:57:53

PR 424531

If the heap walk (for PR 406722/PR 415179) works, we can "delay start"
DrMemory's instrumentation. Wait for initialization to finish and then
do a memory, heap, and thread walk and start there. Won't catch bugs
that involve uninit memory from init time: but that's the tradeoff,
getting faster startup at cost of potential false neg. Once in
steady-state, for most apps our slowdowns should be better than
init slowdowns.

Original issue: http://code.google.com/p/drmemory/issues/detail?id=130

@derekbruening
Copy link
Contributor Author

From bruen...@google.com on April 10, 2012 11:10:27

there are several variants here:

  • have DR + malloc tracking whole time, delay instru
  • have DR whole time, delay malloc tracking
  • attach DR
  • any of above, w/ pcache

xref DRi#725: attach feature on Windows
xref DRi#38: attach injection on Linux
xref DRi#722: internally-triggered attach

Labels: -Priority-Low Priority-High Performance

@derekbruening
Copy link
Contributor Author

From bruen...@google.com on April 11, 2012 12:58:34

further options include using probe mode up front to monitor mallocs w/o code cache cost, and giving up on invalid heap args and not bothering w/ heap walk. xref issue #794

Owner: bruen...@google.com

@derekbruening
Copy link
Contributor Author

From zhao...@google.com on June 04, 2012 13:46:51

Issue 905 has been merged into this issue.

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