Added recording of heap and global handle stats in a stack-allocated
authorchristian.plesner.hansen@gmail.com <christian.plesner.hansen@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 3 Dec 2009 10:16:37 +0000 (10:16 +0000)
committerchristian.plesner.hansen@gmail.com <christian.plesner.hansen@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 3 Dec 2009 10:16:37 +0000 (10:16 +0000)
commit1d9eac1b7c5796c5693b5ab9051c2cbaf9b0508f
tree478e020bca16f6667cad5f6ea974d93680206249
parent2cfb4941a19cfa5749fe931fa296712947bd91e4
Added recording of heap and global handle stats in a stack-allocated
struct on fatal out of memory.  This should cause the information to
be included in minidumps so we can get a better idea of the state of
v8 on OOMs.

Review URL: http://codereview.chromium.org/462019

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3406 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/api.cc
src/global-handles.cc
src/global-handles.h
src/heap.cc
src/heap.h