commit | c44bca6530787454ee794cf2f83c1c6671a93aa8 | [log] [tgz] |
---|---|---|
author | Carl Shapiro <cshapiro@google.com> | Fri Aug 27 15:21:13 2010 -0700 |
committer | Carl Shapiro <cshapiro@google.com> | Wed Sep 01 18:37:38 2010 -0700 |
tree | 9597da792977d565df98e5e9bdccb038927f657c | |
parent | 57ee270b755271166b2349321e5b8b5457731dd7 [diff] |
Improve the heap verifier's failure report. Previously, when a reference verify failed we would print the location of the bad reference and abort. With this change, when a reference fails to verify we try to print out more context. First, we dump the object which contains the bad references and print each reference that failed verification. Following that, we scan the roots and the heap and print all of the objects which reference the bad object.