Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Issue 1609423002: Adjust heap profiler integration for ContiguousContainer. (Closed)

Created:
4 years, 11 months ago by jbroman
Modified:
4 years, 11 months ago
Reviewers:
Ruud van Asseldonk
CC:
blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, vmpstr+blinkwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adjust 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
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -16 lines) Patch
M third_party/WebKit/Source/platform/graphics/ContiguousContainer.h View 5 chunks +15 lines, -7 lines 2 comments Download
M third_party/WebKit/Source/platform/graphics/ContiguousContainer.cpp View 3 chunks +7 lines, -9 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
jbroman
PTAL. I think this makes the integration a little less intrusive, and should also make ...
4 years, 11 months ago (2016-01-20 21:28:10 UTC) #2
jbroman
On 2016/01/20 at 21:28:10, jbroman wrote: > PTAL. I think this makes the integration a ...
4 years, 11 months ago (2016-01-20 21:29:51 UTC) #3
Ruud van Asseldonk
Thanks for doing this. I suppose you know better what the right type to report ...
4 years, 11 months ago (2016-01-21 10:23:23 UTC) #4
jbroman
tl;dr: The buffer can be shared by several subclasses of BaseElementType, since they are allocated ...
4 years, 11 months ago (2016-01-21 14:23:19 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1609423002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1609423002/1
4 years, 11 months ago (2016-01-21 14:51:09 UTC) #7
Ruud van Asseldonk
On 2016/01/21 14:23:19, jbroman wrote: > tl;dr: The buffer can be shared by several subclasses ...
4 years, 11 months ago (2016-01-21 14:51:53 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2016-01-21 16:18:54 UTC) #9
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 16:20:07 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d70432eb5322e13dd38fad17156424bc97b03c11
Cr-Commit-Position: refs/heads/master@{#370712}

Powered by Google App Engine
This is Rietveld 408576698