Changeset 180960 in webkit


Ignore:
Timestamp:
Mar 3, 2015 3:27:46 PM (9 years ago)
Author:
ggaren@apple.com
Message:

bmalloc should implement malloc introspection (to stop false-positive leaks when MallocStackLogging is off)
https://bugs.webkit.org/show_bug.cgi?id=141802

Reviewed by Andreas Kling.

Re-enabled this feature on iOS, now that the iOS crash should be fixed.

  • bmalloc/VMHeap.cpp:

(bmalloc::VMHeap::grow):

  • bmalloc/VMHeap.h:
Location:
trunk/Source/bmalloc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/bmalloc/ChangeLog

    r180958 r180960  
     12015-03-03  Geoffrey Garen  <ggaren@apple.com>
     2
     3        bmalloc should implement malloc introspection (to stop false-positive leaks when MallocStackLogging is off)
     4        https://bugs.webkit.org/show_bug.cgi?id=141802
     5
     6        Reviewed by Andreas Kling.
     7
     8        Re-enabled this feature on iOS, now that the iOS crash should be fixed.
     9
     10        * bmalloc/VMHeap.cpp:
     11        (bmalloc::VMHeap::grow):
     12        * bmalloc/VMHeap.h:
     13
    1142015-03-03  Geoffrey Garen  <ggaren@apple.com>
    215
  • trunk/Source/bmalloc/bmalloc/VMHeap.cpp

    r180954 r180960  
    4141{
    4242    SuperChunk* superChunk = SuperChunk::create();
    43 #if BOS(DARWIN) && !BPLATFORM(IOS)
     43#if BOS(DARWIN)
    4444    m_zone.addSuperChunk(superChunk);
    4545#endif
  • trunk/Source/bmalloc/bmalloc/VMHeap.h

    r180954 r180960  
    3636#include "SmallChunk.h"
    3737#include "Vector.h"
    38 #if BOS(DARWIN) && !BPLATFORM(IOS)
     38#if BOS(DARWIN)
    3939#include "Zone.h"
    4040#endif
     
    6767    Vector<MediumPage*> m_mediumPages;
    6868    SegregatedFreeList m_largeObjects;
    69 #if BOS(DARWIN) && !BPLATFORM(IOS)
     69#if BOS(DARWIN)
    7070    Zone m_zone;
    7171#endif
Note: See TracChangeset for help on using the changeset viewer.