Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: tools/grokdump.py

Issue 1164693002: Tiny fix to grokdump heap stats printer (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/grokdump.py
diff --git a/tools/grokdump.py b/tools/grokdump.py
index 11f8d239f3d4e5a27a9ca15d133b70977e9cfb6d..d2d7092705469f5018c0c9c3d7a018726e548790 100755
--- a/tools/grokdump.py
+++ b/tools/grokdump.py
@@ -3142,7 +3142,7 @@ def AnalyzeMinidump(options, minidump_name):
oom_comment = " <----- HeapStats start marker"
elif maybe_address_contents == 0xdecade01:
oom_comment = " <----- HeapStats end marker"
- else:
+ elif maybe_address_contents is not None:
oom_comment = " %d (%d Mbytes)" % (maybe_address_contents,
maybe_address_contents >> 20)
if slot == frame_pointer:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698