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

Issue 1721333002: Bug fix: Add BlinkGC allocation hooks to CSS, Node and vector/table backing (Closed)

Created:
4 years, 10 months ago by hajimehoshi
Modified:
4 years, 9 months ago
CC:
chromium-reviews, oilpan-reviews, Mads Ager (chromium), blink-reviews-css, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews, kinuko+watch, kouhei+heap_chromium.org, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Bug fix: Add BlinkGC allocation hooks to CSS, Node and vector/table backing BlinkGC allocation hooks for the memory infra were added at crrev.com/1676973002, but those were not enough. This CL adds missing hooks. BUG=588123 Committed: https://crrev.com/abd5af497f0a6f38c57f071a187b9484a0e3f306 Cr-Commit-Position: refs/heads/master@{#379252} Committed: https://crrev.com/d7c89d879b56ebad4e04d2bbc0452d35c1fa1f25 Cr-Commit-Position: refs/heads/master@{#379280}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Hook in allocateOnHeapIndex #

Total comments: 15

Patch Set 3 : Fix type names #

Patch Set 4 : Use 'using' #

Patch Set 5 : (rebasing) #

Patch Set 6 : (rebasing) #

Patch Set 7 : Use COMMA #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -25 lines) Patch
M third_party/WebKit/Source/core/css/CSSValue.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Node.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/heap/Heap.h View 1 2 3 4 5 4 chunks +9 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/HeapAllocator.h View 1 2 3 4 5 6 2 chunks +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/HeapTest.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 59 (16 generated)
hajimehoshi
PTAL
4 years, 10 months ago (2016-02-23 09:06:34 UTC) #2
sof
https://codereview.chromium.org/1721333002/diff/1/third_party/WebKit/Source/platform/heap/HeapAllocator.h File third_party/WebKit/Source/platform/heap/HeapAllocator.h (right): https://codereview.chromium.org/1721333002/diff/1/third_party/WebKit/Source/platform/heap/HeapAllocator.h#newcode67 third_party/WebKit/Source/platform/heap/HeapAllocator.h:67: HeapAllocHooks::allocationHookIfEnabled(address, size, typeName); Can you guarantee that this doesn't ...
4 years, 10 months ago (2016-02-23 09:13:03 UTC) #4
hajimehoshi
https://codereview.chromium.org/1721333002/diff/1/third_party/WebKit/Source/platform/heap/HeapAllocator.h File third_party/WebKit/Source/platform/heap/HeapAllocator.h (right): https://codereview.chromium.org/1721333002/diff/1/third_party/WebKit/Source/platform/heap/HeapAllocator.h#newcode67 third_party/WebKit/Source/platform/heap/HeapAllocator.h:67: HeapAllocHooks::allocationHookIfEnabled(address, size, typeName); On 2016/02/23 09:13:02, sof wrote: > ...
4 years, 10 months ago (2016-02-23 09:27:17 UTC) #5
sof
On 2016/02/23 09:27:17, hajimehoshi wrote: > https://codereview.chromium.org/1721333002/diff/1/third_party/WebKit/Source/platform/heap/HeapAllocator.h > File third_party/WebKit/Source/platform/heap/HeapAllocator.h (right): > > https://codereview.chromium.org/1721333002/diff/1/third_party/WebKit/Source/platform/heap/HeapAllocator.h#newcode67 > ...
4 years, 10 months ago (2016-02-23 09:35:29 UTC) #6
sof
On 2016/02/23 09:35:29, sof wrote: > On 2016/02/23 09:27:17, hajimehoshi wrote: > > > https://codereview.chromium.org/1721333002/diff/1/third_party/WebKit/Source/platform/heap/HeapAllocator.h ...
4 years, 10 months ago (2016-02-23 14:45:09 UTC) #7
Primiano Tucci (use gerrit)
https://codereview.chromium.org/1721333002/diff/1/third_party/WebKit/Source/platform/heap/HeapAllocator.h File third_party/WebKit/Source/platform/heap/HeapAllocator.h (right): https://codereview.chromium.org/1721333002/diff/1/third_party/WebKit/Source/platform/heap/HeapAllocator.h#newcode67 third_party/WebKit/Source/platform/heap/HeapAllocator.h:67: HeapAllocHooks::allocationHookIfEnabled(address, size, typeName); Is there any way we can ...
4 years, 10 months ago (2016-02-25 06:55:51 UTC) #8
hajimehoshi
https://codereview.chromium.org/1721333002/diff/1/third_party/WebKit/Source/platform/heap/HeapAllocator.h File third_party/WebKit/Source/platform/heap/HeapAllocator.h (right): https://codereview.chromium.org/1721333002/diff/1/third_party/WebKit/Source/platform/heap/HeapAllocator.h#newcode67 third_party/WebKit/Source/platform/heap/HeapAllocator.h:67: HeapAllocHooks::allocationHookIfEnabled(address, size, typeName); On 2016/02/25 06:55:51, Primiano (throttled til ...
4 years, 10 months ago (2016-02-25 07:06:01 UTC) #9
Primiano Tucci (use gerrit)
On 2016/02/25 07:06:01, hajimehoshi wrote: > https://codereview.chromium.org/1721333002/diff/1/third_party/WebKit/Source/platform/heap/HeapAllocator.h > File third_party/WebKit/Source/platform/heap/HeapAllocator.h (right): > > https://codereview.chromium.org/1721333002/diff/1/third_party/WebKit/Source/platform/heap/HeapAllocator.h#newcode67 > ...
4 years, 10 months ago (2016-02-25 07:14:30 UTC) #10
hajimehoshi
https://codereview.chromium.org/1721333002/diff/1/third_party/WebKit/Source/platform/heap/HeapAllocator.h File third_party/WebKit/Source/platform/heap/HeapAllocator.h (right): https://codereview.chromium.org/1721333002/diff/1/third_party/WebKit/Source/platform/heap/HeapAllocator.h#newcode67 third_party/WebKit/Source/platform/heap/HeapAllocator.h:67: HeapAllocHooks::allocationHookIfEnabled(address, size, typeName); On 2016/02/25 06:55:51, Primiano (throttled til ...
4 years, 10 months ago (2016-02-26 09:37:13 UTC) #11
Primiano Tucci (use gerrit)
LGTM with some suggestions. IIRC the point of using WTF_HEAP_PROFILER_TYPE_NAME is: - If you need ...
4 years, 9 months ago (2016-02-29 17:23:15 UTC) #12
sof
https://codereview.chromium.org/1721333002/diff/20001/third_party/WebKit/Source/platform/heap/Heap.h File third_party/WebKit/Source/platform/heap/Heap.h (right): https://codereview.chromium.org/1721333002/diff/20001/third_party/WebKit/Source/platform/heap/Heap.h#newcode482 third_party/WebKit/Source/platform/heap/Heap.h:482: Address address = heap->allocateObject(allocationSizeFromSize(size), gcInfoIndex); Given that allocateOnHeapIndex() is ...
4 years, 9 months ago (2016-02-29 18:36:59 UTC) #13
Primiano Tucci (use gerrit)
https://codereview.chromium.org/1721333002/diff/20001/third_party/WebKit/Source/platform/heap/Heap.h File third_party/WebKit/Source/platform/heap/Heap.h (right): https://codereview.chromium.org/1721333002/diff/20001/third_party/WebKit/Source/platform/heap/Heap.h#newcode482 third_party/WebKit/Source/platform/heap/Heap.h:482: Address address = heap->allocateObject(allocationSizeFromSize(size), gcInfoIndex); On 2016/02/29 18:36:59, sof ...
4 years, 9 months ago (2016-02-29 18:38:45 UTC) #14
sof
On 2016/02/29 18:38:45, Primiano (throttled til Mar 4) wrote: > https://codereview.chromium.org/1721333002/diff/20001/third_party/WebKit/Source/platform/heap/Heap.h > File third_party/WebKit/Source/platform/heap/Heap.h (right): ...
4 years, 9 months ago (2016-02-29 18:44:20 UTC) #15
Primiano Tucci (use gerrit)
On 2016/02/29 18:44:20, sof wrote: > On 2016/02/29 18:38:45, Primiano (throttled til Mar 4) wrote: ...
4 years, 9 months ago (2016-02-29 18:45:49 UTC) #16
sof
On 2016/02/29 18:45:49, Primiano (throttled til Mar 4) wrote: > On 2016/02/29 18:44:20, sof wrote: ...
4 years, 9 months ago (2016-02-29 18:56:43 UTC) #17
Primiano Tucci (use gerrit)
On 2016/02/29 18:56:43, sof wrote: > If you don't have a type name string (i.e., ...
4 years, 9 months ago (2016-02-29 19:00:17 UTC) #18
sof
On 2016/02/29 19:00:17, Primiano (throttled til Mar 4) wrote: > On 2016/02/29 18:56:43, sof wrote: ...
4 years, 9 months ago (2016-02-29 19:10:47 UTC) #19
Primiano Tucci (use gerrit)
On 2016/02/29 19:10:47, sof wrote: > If this refers to CSSValue and Node, we have ...
4 years, 9 months ago (2016-02-29 19:16:32 UTC) #20
sof
On 2016/02/29 19:16:32, Primiano (throttled til Mar 4) wrote: > On 2016/02/29 19:10:47, sof wrote: ...
4 years, 9 months ago (2016-02-29 19:41:25 UTC) #21
haraken
hajimehoshi@: What's the performance result for this CL?
4 years, 9 months ago (2016-02-29 23:32:03 UTC) #22
hajimehoshi
On 2016/02/29 23:32:03, haraken wrote: > hajimehoshi@: What's the performance result for this CL? Sorry ...
4 years, 9 months ago (2016-03-01 04:41:45 UTC) #23
haraken
tasak@ confirmed that this CL won't introduce a regression (https://bugs.chromium.org/p/chromium/issues/detail?id=588123#c11). LGTM on my side. Let's ...
4 years, 9 months ago (2016-03-03 08:16:47 UTC) #24
sof
many thanks for testing with an official build, those blink_perf subtests look fine. blink_perf.shadow is ...
4 years, 9 months ago (2016-03-03 08:37:30 UTC) #25
hajimehoshi
Thank you! https://codereview.chromium.org/1721333002/diff/20001/third_party/WebKit/Source/core/css/CSSValue.h File third_party/WebKit/Source/core/css/CSSValue.h (right): https://codereview.chromium.org/1721333002/diff/20001/third_party/WebKit/Source/core/css/CSSValue.h#newcode47 third_party/WebKit/Source/core/css/CSSValue.h:47: const char* typeName = WTF_HEAP_PROFILER_TYPE_NAME(CSSValue); On 2016/02/29 ...
4 years, 9 months ago (2016-03-03 10:12:31 UTC) #26
sof
https://codereview.chromium.org/1721333002/diff/20001/third_party/WebKit/Source/platform/heap/HeapAllocator.h File third_party/WebKit/Source/platform/heap/HeapAllocator.h (right): https://codereview.chromium.org/1721333002/diff/20001/third_party/WebKit/Source/platform/heap/HeapAllocator.h#newcode65 third_party/WebKit/Source/platform/heap/HeapAllocator.h:65: const char* typeName = WTF_HEAP_PROFILER_TYPE_NAME(T); On 2016/03/03 10:12:31, hajimehoshi ...
4 years, 9 months ago (2016-03-03 12:08:14 UTC) #27
hajimehoshi
https://codereview.chromium.org/1721333002/diff/20001/third_party/WebKit/Source/platform/heap/HeapAllocator.h File third_party/WebKit/Source/platform/heap/HeapAllocator.h (right): https://codereview.chromium.org/1721333002/diff/20001/third_party/WebKit/Source/platform/heap/HeapAllocator.h#newcode65 third_party/WebKit/Source/platform/heap/HeapAllocator.h:65: const char* typeName = WTF_HEAP_PROFILER_TYPE_NAME(T); On 2016/03/03 12:08:14, sof ...
4 years, 9 months ago (2016-03-04 06:39:14 UTC) #28
sof
lgtm
4 years, 9 months ago (2016-03-04 06:55:51 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1721333002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1721333002/60001
4 years, 9 months ago (2016-03-04 07:02:00 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/140292)
4 years, 9 months ago (2016-03-04 07:03:59 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1721333002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1721333002/80001
4 years, 9 months ago (2016-03-04 07:44:38 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/168201) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 9 months ago (2016-03-04 07:47:14 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1721333002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1721333002/100001
4 years, 9 months ago (2016-03-04 08:02:40 UTC) #42
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 9 months ago (2016-03-04 09:22:19 UTC) #43
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/abd5af497f0a6f38c57f071a187b9484a0e3f306 Cr-Commit-Position: refs/heads/master@{#379252}
4 years, 9 months ago (2016-03-04 09:24:02 UTC) #45
Marc Treib
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/1761323002/ by treib@chromium.org. ...
4 years, 9 months ago (2016-03-04 10:34:48 UTC) #46
sof
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/1766683002/ by sigbjornf@opera.com. ...
4 years, 9 months ago (2016-03-04 10:35:04 UTC) #47
hajimehoshi
On 2016/03/04 10:35:04, sof wrote: > A revert of this CL (patchset #6 id:100001) has ...
4 years, 9 months ago (2016-03-04 10:44:28 UTC) #48
sof
On 2016/03/04 10:44:28, hajimehoshi wrote: > On 2016/03/04 10:35:04, sof wrote: > > A revert ...
4 years, 9 months ago (2016-03-04 10:47:20 UTC) #49
hajimehoshi
PTAL
4 years, 9 months ago (2016-03-04 11:06:36 UTC) #50
haraken
LGTM
4 years, 9 months ago (2016-03-04 11:07:27 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1721333002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1721333002/120001
4 years, 9 months ago (2016-03-04 11:09:23 UTC) #55
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 9 months ago (2016-03-04 13:58:01 UTC) #57
commit-bot: I haz the power
4 years, 9 months ago (2016-03-04 13:59:33 UTC) #59
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/d7c89d879b56ebad4e04d2bbc0452d35c1fa1f25
Cr-Commit-Position: refs/heads/master@{#379280}

Powered by Google App Engine
This is Rietveld 408576698