DescriptionHandle zero-size allocations properly in heap profiler
Now zero-size allocations are ignored for heap profiling.
Percentage calculation is originally changed to avoid div-by-zero,
but it also solves integer overflow issue with >32768 Kb allocations
on platforms with 32-bit size_t.
Committed: https://crrev.com/a29434e19fa91646e9c40afa5078e64e0ae73903
Cr-Commit-Position: refs/heads/master@{#385426}
Patch Set 1 #Patch Set 2 : #
Total comments: 4
Patch Set 3 : #Patch Set 4 : #Patch Set 5 : #Patch Set 6 : #
Total comments: 2
Patch Set 7 : Typo #Patch Set 8 : #
Messages
Total messages: 21 (10 generated)
|