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

Issue 1676973002: Introduce HeapAllocHooks (Closed)

Created:
4 years, 10 months ago by hajimehoshi
Modified:
4 years, 10 months ago
Reviewers:
haraken, tasak
CC:
chromium-reviews, oilpan-reviews, Mads Ager (chromium), blink-reviews, kinuko+watch, kouhei+heap_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce HeapAllocHooks This CL introduces HeapAllocHooks like WTF::PartitionAllocHooks. This is preparation for Oilpan heap profiler on memory infra. Now hooks doesn't accept object type names. This would require a lot of code change, so I'll implement fundamental features for heap profiler first and add type names later. BUG=585063 TEST=n/a Committed: https://crrev.com/a81fa2467a3277849b423df3622f33c852665118 Cr-Commit-Position: refs/heads/master@{#375424}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : WTF_EXPORT -> PLATFORM_EXPORT #

Total comments: 10

Patch Set 4 : haraken's review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -1 line) Patch
M third_party/WebKit/Source/platform/heap/Heap.h View 1 2 3 3 chunks +43 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/heap/Heap.cpp View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/HeapPage.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 16 (7 generated)
hajimehoshi
PTAL
4 years, 10 months ago (2016-02-08 12:34:56 UTC) #2
haraken
This is adding a branch to a performance-sensitive path. Would you verify that this CL ...
4 years, 10 months ago (2016-02-08 14:35:51 UTC) #4
hajimehoshi
On 2016/02/08 14:35:51, haraken wrote: > This is adding a branch to a performance-sensitive path. ...
4 years, 10 months ago (2016-02-10 10:51:03 UTC) #6
hajimehoshi
On 2016/02/10 10:51:03, hajimehoshi wrote: > On 2016/02/08 14:35:51, haraken wrote: > > This is ...
4 years, 10 months ago (2016-02-10 11:08:32 UTC) #7
haraken
tasak's measurement showed no regression in blink_perf.bindings, blink_perf.parser and dromaeo. LGTM. https://codereview.chromium.org/1676973002/diff/40001/third_party/WebKit/Source/platform/heap/Heap.h File third_party/WebKit/Source/platform/heap/Heap.h (right): ...
4 years, 10 months ago (2016-02-12 10:29:19 UTC) #8
hajimehoshi
Thank you! https://codereview.chromium.org/1676973002/diff/40001/third_party/WebKit/Source/platform/heap/Heap.h File third_party/WebKit/Source/platform/heap/Heap.h (right): https://codereview.chromium.org/1676973002/diff/40001/third_party/WebKit/Source/platform/heap/Heap.h#newcode60 third_party/WebKit/Source/platform/heap/Heap.h:60: if (UNLIKELY(allocationHook != nullptr)) On 2016/02/12 10:29:19, ...
4 years, 10 months ago (2016-02-15 07:14:46 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1676973002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1676973002/60001
4 years, 10 months ago (2016-02-15 07:15:39 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-02-15 08:34:01 UTC) #14
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:49:09 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a81fa2467a3277849b423df3622f33c852665118
Cr-Commit-Position: refs/heads/master@{#375424}

Powered by Google App Engine
This is Rietveld 408576698