Changeset 180363 in webkit


Ignore:
Timestamp:
Feb 19, 2015 1:38:09 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.

Fixed a last-minute type.

The macro is OS, not PLATFORM.

  • bmalloc/VMHeap.cpp:

(bmalloc::VMHeap::grow):

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

Legend:

Unmodified
Added
Removed
  • trunk/Source/bmalloc/ChangeLog

    r180359 r180363  
     12015-02-19  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        Fixed a last-minute type.
     9
     10        The macro is OS, not PLATFORM.
     11
     12        * bmalloc/VMHeap.cpp:
     13        (bmalloc::VMHeap::grow):
     14        * bmalloc/VMHeap.h:
     15        * bmalloc/Zone.h:
     16
    1172015-02-19  Geoffrey Garen  <ggaren@apple.com>
    218
  • trunk/Source/bmalloc/bmalloc/VMHeap.cpp

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

    r180359 r180363  
    3535#include "SmallChunk.h"
    3636#include "Vector.h"
    37 #if BPLATFORM(DARWIN)
     37#if BOS(DARWIN)
    3838#include "Zone.h"
    3939#endif
     
    6565    Vector<MediumPage*> m_mediumPages;
    6666    SegregatedFreeList m_largeRanges;
    67 #if BPLATFORM(DARWIN)
     67#if BOS(DARWIN)
    6868    Zone m_zone;
    6969#endif
Note: See TracChangeset for help on using the changeset viewer.