Reviewers: Hannes Payer,

Description:
Tiny fix to grokdump heap stats printer

[email protected]
BUG=

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

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

Affected files (+1, -1 lines):
  M tools/grokdump.py


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:


--
--
v8-dev mailing list
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to