Changeset 196046 in webkit


Ignore:
Timestamp:
Feb 2, 2016 10:02:36 PM (8 years ago)
Author:
Gyuyoung Kim
Message:

Remove ENABLE(GLOBAL_FASTMALLOC_NEW) guard in WebMemorySamplerLinux.cpp
https://bugs.webkit.org/show_bug.cgi?id=153812

Reviewed by Darin Adler.

r164261 already removed ENABLE_GLOBAL_FASTMALLOC_NEW guard though, WebMemorySamplerLinux
is still using it. That's why EFL and GTK memory sampler don't show fast malloc memory use.

  • Shared/linux/WebMemorySamplerLinux.cpp:

(WebKit::WebMemorySampler::sampleWebKit): Deleted.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r196037 r196046  
     12016-02-02  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
     2
     3        Remove ENABLE(GLOBAL_FASTMALLOC_NEW) guard in WebMemorySamplerLinux.cpp
     4        https://bugs.webkit.org/show_bug.cgi?id=153812
     5
     6        Reviewed by Darin Adler.
     7
     8        r164261 already removed ENABLE_GLOBAL_FASTMALLOC_NEW guard though, WebMemorySamplerLinux
     9        is still using it. That's why EFL and GTK memory sampler don't show fast malloc memory use.
     10
     11        * Shared/linux/WebMemorySamplerLinux.cpp:
     12        (WebKit::WebMemorySampler::sampleWebKit): Deleted.
     13
    1142016-02-02  Enrica Casucci  <enrica@apple.com>
    215
  • trunk/Source/WebKit2/Shared/linux/WebMemorySamplerLinux.cpp

    r183740 r196046  
    144144    size_t totalBytesCommitted = 0;
    145145
    146 #if ENABLE(GLOBAL_FASTMALLOC_NEW)
    147146    FastMallocStatistics fastMallocStatistics = WTF::fastMallocStatistics();
    148147    size_t fastMallocBytesInUse = fastMallocStatistics.committedVMBytes - fastMallocStatistics.freeListBytes;
     
    153152    appendKeyValuePair(webKitMemoryStats, ASCIILiteral("Fast Malloc In Use"), fastMallocBytesInUse);
    154153    appendKeyValuePair(webKitMemoryStats, ASCIILiteral("Fast Malloc Committed Memory"), fastMallocBytesCommitted);
    155 #endif
    156154
    157155    size_t jscHeapBytesInUse = JSDOMWindow::commonVM().heap.size();
Note: See TracChangeset for help on using the changeset viewer.