• bcwhite's avatar
    De-duplicate ranges information in persistent memory. · af191358
    bcwhite authored
    By having BucketRanges keep a reference to where the data can be found
    in persistent memory, the existing de-dup of the BucketRanges object
    also serves to avoid duplicating the data in persistent memory.
    
    Simple testing shows allocated persistent histogram memory in the
    browser is reduced by about 22%.  This should be similar in all
    processes though somewhat less as the number of histograms held goes
    down.
    
    BUG=705342
    
    Review-Url: https://codereview.chromium.org/2794073002
    Cr-Commit-Position: refs/heads/master@{#462897}
    af191358
bucket_ranges.h 3.64 KB