DescriptionAdjust heap profiler integration for ContiguousContainer.
Firstly, change the type passed to the allocator to always be BaseElementType.
Otherwise, the buffer will be ascribed to whatever derived type was being
allocated when the buffer overflowed.
Secondly, confine the typeName parameter to only those places where the type
is passed from the ContiguousContainer template, through the base class, to
the allocator. (There are two entry points: initial capacity and new allocation.)
Committed: https://crrev.com/d70432eb5322e13dd38fad17156424bc97b03c11
Cr-Commit-Position: refs/heads/master@{#370712}
Patch Set 1 #
Total comments: 2
Messages
Total messages: 11 (3 generated)
|