Skip to content
  • mrowe@apple.com's avatar
    <rdar://problem/14235491> FastMalloc zone enumerator responding to... · a30bb37a
    mrowe@apple.com authored
    <rdar://problem/14235491> FastMalloc zone enumerator responding to MALLOC_PTR_REGION_RANGE_TYPE with individual allocations
    
    Teach PageMapMemoryUsageRecorder::recordPendingRegions to only record data of the type that it's asked for.
    This also fixes the vmmap output to associate some regions with the FastMalloc malloc zone that were previously
    associated with it only via the VM tag, meaning they were incorrectly being omitted from the malloc statistics
    section of the report.
    
    Reviewed by Dan Bernstein.
    
    * wtf/FastMalloc.cpp:
    (WTF::PageMapMemoryUsageRecorder::recordPendingRegions): Report the individual allocations only when requested. Add
    the ability to report the regions containing pointers separately from the allocations.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    a30bb37a