[sampling heap profiler] Fix accounting for the very first allocation on a thread.
The sampler used to always record the very first allocation on each thread because the accumulator is initialized with zero. The patch makes such allocations be treates as all the others. BUG=803276 Change-Id: I3eeec1e069ecc640e6c9756f707dfc336d16e159 Reviewed-on: https://chromium-review.googlesource.com/1257597 Commit-Queue: Alexei Filippov <alph@chromium.org> Reviewed-by:Erik Chen <erikchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#596306}
Showing
Please register or sign in to comment