• mattloring's avatar
    Eliminate zero count allocations from profile · 3184aff9
    mattloring authored
    If no objects allocated at a location are live when a profile is
    collected we report a zero count sample. This is confusing to those
    looking at the profiles and will leak memory.
    
    We now delete allocations once the number of sampled live objects for
    that location reaches zero.
    
    R=ofrobots@google.com
    BUG=
    
    Review URL: https://codereview.chromium.org/1828333002
    
    Cr-Commit-Position: refs/heads/master@{#35305}
    3184aff9
Name
Last commit
Last update
..
allocation-tracker.cc Loading commit data...
allocation-tracker.h Loading commit data...
circular-queue-inl.h Loading commit data...
circular-queue.h Loading commit data...
cpu-profiler-inl.h Loading commit data...
cpu-profiler.cc Loading commit data...
cpu-profiler.h Loading commit data...
heap-profiler.cc Loading commit data...
heap-profiler.h Loading commit data...
heap-snapshot-generator-inl.h Loading commit data...
heap-snapshot-generator.cc Loading commit data...
heap-snapshot-generator.h Loading commit data...
profile-generator-inl.h Loading commit data...
profile-generator.cc Loading commit data...
profile-generator.h Loading commit data...
sampler.cc Loading commit data...
sampler.h Loading commit data...
sampling-heap-profiler.cc Loading commit data...
sampling-heap-profiler.h Loading commit data...
strings-storage.cc Loading commit data...
strings-storage.h Loading commit data...
unbound-queue-inl.h Loading commit data...
unbound-queue.h Loading commit data...