[Webkit-unassigned] [Bug 141247] New: [REGRESSION][Bmalloc] Implement reporting of malloc statistics.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 4 07:35:27 PST 2015


            Bug ID: 141247
           Summary: [REGRESSION][Bmalloc] Implement reporting of malloc
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P1
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clopez at igalia.com
                CC: cgarcia at igalia.com, dbates at webkit.org,
                    ggaren at apple.com, gyuyoung.kim at webkit.org,
                    mitica at adobe.com, ossy at webkit.org, rniwa at webkit.org,
                    zan at falconsigh.net, zoltan at webkit.org

Our performance tests, use the JS call window.internals.mallocStatistics() to get information about the internal malloc stats on WebKit.

This information is collected by the tool running the performance tests and displayed on the graphs of http://perf.webkit.org

This feature was added on r123773 <http://trac.webkit.org/r123773> (Check bug 78984)

On bug 139812 I wondered why the Mac performance bots don't report any information about the malloc stats.

It turns out the cause is that bmalloc still don't implements this.
I just tested bmalloc on Linux (bug 140162) and I also get 0 bytes reported on the malloc stats of any performance test.

For example, on the link below you can see how the mac bot stopped reporting any information about malloc stats once bmalloc was made the default allocator.
Linux bots (GTK/EFL) still report this information because they are still using TCMalloc.

I think this is a regression, since now we lack of proper information about the memory usage/consumption and we can't identify revisions that cause huge increases on the memory usage. 

The (stub) implementation for bmalloc seems to be there: http://trac.webkit.org/browser/trunk/Source/WTF/wtf/FastMalloc.cpp?rev=179600#L339
The one for tcmalloc that was working previously: http://trac.webkit.org/browser/trunk/Source/WTF/wtf/FastMalloc.cpp?rev=179600#L4552

I'm not planning to implement this, so feel free to take it if you want.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150204/cc630d31/attachment-0002.html>

More information about the webkit-unassigned mailing list