Reviewers: Hannes Payer,

Description:
Even without --trace-gc dump the last few GC messages on OOM

If we crash V8 due to out-of-memory then we print the last 3 GCs on
stdout as we crash. Also records the last 3 GCs on the stack so that
it will be part of the minidump.
R=hpa...@chromium.org
BUG=

Please review this at https://codereview.chromium.org/1159513003/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+94, -23 lines):
  M src/api.cc
  M src/heap/gc-tracer.h
  M src/heap/gc-tracer.cc
  M src/heap/heap.h
  M src/heap/heap.cc


--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to