Bug 780155: skip more mmgc-internal allocation frames (r=mcgachey).
authorFelix Klock II <fklockii@adobe.com>
Wed, 05 Sep 2012 05:33:01 -0700
changeset 7540 bdedfbb2568f143eb1aef8aca7524007e9ee12f4
parent 7539 90ecd685dbfd6a2cee6a08f3dc48184bcc7552e2
child 7541 ce6e9c01569bb4fab30ab9ec4fac4c78b2cc8c45
push id4257
push userdschaffe@adobe.com
push dateThu, 06 Sep 2012 14:36:05 +0000
reviewersmcgachey
bugs780155, 1108593
Bug 780155: skip more mmgc-internal allocation frames (r=mcgachey). {{mercurial a488c1e7aed9f7ccdc1b3611b9a9c437b2ac0724}} CL@1108593
MMgc/GCMemoryProfiler.cpp
--- a/MMgc/GCMemoryProfiler.cpp
+++ b/MMgc/GCMemoryProfiler.cpp
@@ -153,18 +153,22 @@ namespace MMgc
                 if(AVMPI_getFunctionNameFromPC(ip, name, 256) == false)
                 {
                     VMPI_snprintf(name, 256, "0x%llx", (unsigned long long)ip);
                 }
                 nameTable.put((const void*)ip, name);
             }
             // keep going until we hit mutator code
             if(VMPI_strstr(name, "::Alloc") != NULL ||
+                VMPI_strstr(name, "::OutOfLineAlloc") != NULL ||
+                VMPI_strstr(name, "::InlineAlloc") != NULL ||
                 VMPI_strstr(name, "::LargeAlloc") != NULL ||
                 VMPI_strstr(name, "::Calloc") != NULL ||
+                VMPI_strstr(name, "MMgc::TaggedAlloc") != NULL ||
+                VMPI_strstr(name, "MMgc::NewTagged") != NULL ||
                 VMPI_strstr(name, "operator new") != NULL)
             {
                 trace->skip++;
                 continue;
             }
             break;
         }
         trace->name = name;