• Vlad Tsyrklevich's avatar
    GWP-ASan: Report allocator OOM metric · e341d03f
    Vlad Tsyrklevich authored
    Long-lived allocations can consume all of GWP-ASan's memory early,
    resulting in uneven sampling over the process' lifetime. Report how many
    total allocations (e.g. taking into account the the sampling frequency)
    it took before OOM. Break these reports out by allocator and process
    since behavior varies significantly based on these factors.
    
    This metric will help measure whether we are frequently running out of
    allocations early for a given allocator/process and will help track
    future memory improvements.
    
    Bug: 963711
    Change-Id: Ifef2d61ee3fb589a4b55fcf2b93f7f64096e43f1
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1628288
    Auto-Submit: Vlad Tsyrklevich <vtsyrklevich@chromium.org>
    Reviewed-by: default avatarBrian White <bcwhite@chromium.org>
    Reviewed-by: default avatarVitaly Buka <vitalybuka@chromium.org>
    Reviewed-by: default avatarKen Rockot <rockot@google.com>
    Commit-Queue: Vlad Tsyrklevich <vtsyrklevich@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#663953}
    e341d03f
gwp_asan.cc 8.18 KB