Descriptionruntime: fix mem profile when both large and small objects are allocated at the same stack
Currently small and large (size>rate) objects are merged into a single entry.
But rate adjusting is required only for small objects.
As a result pprof either incorrectly adjusts large objects
or does not adjust small objects.
With this change objects of different sizes are stored in different buckets.
Patch Set 1 #Patch Set 2 : diff -r ec5195954667 https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 3 : diff -r ec5195954667 https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 4 : diff -r 798c2c748a26 https://dvyukov%40google.com@code.google.com/p/go/ #MessagesTotal messages: 6
|