DescriptionRemove typically unused local_metadata_ field.
The vast majority of histograms and their samples are now "persistent"
with the memory coming from a special memory segment. It's wasteful to
have a "local metadata" structure in each sample object that is never
used.
Instead, allocate the structure from the heap for only those objects
that need it and release it when those objects get destructed.
BUG=733380
Review-Url: https://codereview.chromium.org/2973603002
Cr-Commit-Position: refs/heads/master@{#484282}
Committed: https://chromium.googlesource.com/chromium/src/+/b4d87bb384bfc8b43cadc24160c0da01ab09f555
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|