DescriptionRe-use callback objects in the DataUseAggregator.
This CL makes the DataUseAggregator re-use the same callback objects
separately for annotation and amortization calls, as an optimization to
avoid allocating and holding on to a new callback object for every call.
This CL should have no noticible effects other than using less memory.
BUG=
Committed: https://crrev.com/2955091ca0b685a7a08a335df14f70c7eceeb0bc
Cr-Commit-Position: refs/heads/master@{#360437}
Patch Set 1 #Patch Set 2 : Rebased on master #Patch Set 3 : Fixed WeakPtr threading issue. #
Messages
Total messages: 17 (8 generated)
|