Chromium Code Reviews| Index: src/api.cc |
| =================================================================== |
| --- src/api.cc (revision 9396) |
| +++ src/api.cc (working copy) |
| @@ -185,7 +185,10 @@ |
| int end_marker; |
| heap_stats.end_marker = &end_marker; |
| i::Isolate* isolate = i::Isolate::Current(); |
| - isolate->heap()->RecordStats(&heap_stats, take_snapshot); |
| + // BUG(1718): |
| + // Don't use the take_snapshot since we don't support HeapIterator in new |
| + // gc. |
|
Vyacheslav Egorov (Chromium)
2011/09/22 14:40:38
comment is not precise: we support it, but you nee
|
| + isolate->heap()->RecordStats(&heap_stats, false); |
| i::V8::SetFatalError(); |
| FatalErrorCallback callback = GetFatalErrorHandler(); |
| { |