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

Issue 1714523006: Refactoring: Remove DETAILED_MEMORY_INFRA (Closed)

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

Description

Refactoring: Remove DETAILED_MEMORY_INFRA Now that we can use WTF_HEAP_PROFILER_TYPE_NAME to get a type name, let's remove the macro DETAILED_MEMORY_INFRA. In addition, this CL removes className from GCInfo because we can now get class lists at heap profiling. BUG=n/a TEST=n/a Committed: https://crrev.com/89fb6454ae09c4390ea760428a67f82dd11a7790 Cr-Commit-Position: refs/heads/master@{#376713}

Patch Set 1 #

Patch Set 2 : Surpress generating String objects #

Total comments: 5

Patch Set 3 : Remove className() #

Total comments: 5

Patch Set 4 : Remove spamming info #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -41 lines) Patch
M third_party/WebKit/Source/build/features.gypi View 2 chunks +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/GCInfo.h View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/ThreadState.cpp View 1 2 3 1 chunk +0 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/Visitor.h View 1 2 3 2 chunks +0 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/wtf/InstanceCounter.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/wtf/InstanceCounter.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 43 (10 generated)
hajimehoshi
PTAL
4 years, 10 months ago (2016-02-19 09:25:27 UTC) #2
haraken
LGTM
4 years, 10 months ago (2016-02-19 09:28:14 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714523006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714523006/20001
4 years, 10 months ago (2016-02-19 09:34:24 UTC) #5
Primiano Tucci (use gerrit)
https://codereview.chromium.org/1714523006/diff/20001/third_party/WebKit/Source/platform/heap/GCInfo.h File third_party/WebKit/Source/platform/heap/GCInfo.h (right): https://codereview.chromium.org/1714523006/diff/20001/third_party/WebKit/Source/platform/heap/GCInfo.h#newcode130 third_party/WebKit/Source/platform/heap/GCInfo.h:130: const char* className() const { return m_className; } I ...
4 years, 10 months ago (2016-02-19 10:04:52 UTC) #6
hajimehoshi
https://codereview.chromium.org/1714523006/diff/20001/third_party/WebKit/Source/platform/heap/GCInfo.h File third_party/WebKit/Source/platform/heap/GCInfo.h (right): https://codereview.chromium.org/1714523006/diff/20001/third_party/WebKit/Source/platform/heap/GCInfo.h#newcode130 third_party/WebKit/Source/platform/heap/GCInfo.h:130: const char* className() const { return m_className; } On ...
4 years, 10 months ago (2016-02-19 10:32:03 UTC) #8
haraken
On 2016/02/19 10:32:03, hajimehoshi wrote: > https://codereview.chromium.org/1714523006/diff/20001/third_party/WebKit/Source/platform/heap/GCInfo.h > File third_party/WebKit/Source/platform/heap/GCInfo.h (right): > > https://codereview.chromium.org/1714523006/diff/20001/third_party/WebKit/Source/platform/heap/GCInfo.h#newcode130 > ...
4 years, 10 months ago (2016-02-19 10:40:00 UTC) #9
hajimehoshi
On 2016/02/19 10:40:00, haraken wrote: > On 2016/02/19 10:32:03, hajimehoshi wrote: > > > https://codereview.chromium.org/1714523006/diff/20001/third_party/WebKit/Source/platform/heap/GCInfo.h ...
4 years, 10 months ago (2016-02-19 11:01:51 UTC) #10
haraken
On 2016/02/19 11:01:51, hajimehoshi wrote: > On 2016/02/19 10:40:00, haraken wrote: > > On 2016/02/19 ...
4 years, 10 months ago (2016-02-19 11:06:04 UTC) #11
Primiano Tucci (use gerrit)
So, let me try to do a quick recap: who are the clients left for ...
4 years, 10 months ago (2016-02-19 11:11:52 UTC) #12
hajimehoshi
On 2016/02/19 11:06:04, haraken wrote: > On 2016/02/19 11:01:51, hajimehoshi wrote: > > On 2016/02/19 ...
4 years, 10 months ago (2016-02-19 11:13:05 UTC) #13
haraken
On 2016/02/19 11:11:52, Primiano Tucci wrote: > So, let me try to do a quick ...
4 years, 10 months ago (2016-02-19 11:14:49 UTC) #14
haraken
On 2016/02/19 11:13:05, hajimehoshi wrote: > On 2016/02/19 11:06:04, haraken wrote: > > On 2016/02/19 ...
4 years, 10 months ago (2016-02-19 11:16:22 UTC) #15
hajimehoshi
On 2016/02/19 11:16:22, haraken wrote: > On 2016/02/19 11:13:05, hajimehoshi wrote: > > On 2016/02/19 ...
4 years, 10 months ago (2016-02-19 11:21:42 UTC) #16
hajimehoshi
On 2016/02/19 11:11:52, Primiano Tucci wrote: > So, let me try to do a quick ...
4 years, 10 months ago (2016-02-19 11:25:24 UTC) #17
hajimehoshi
PTAL
4 years, 10 months ago (2016-02-19 11:49:26 UTC) #19
haraken
LGTM, thanks!
4 years, 10 months ago (2016-02-19 11:55:44 UTC) #20
Primiano Tucci (use gerrit)
https://codereview.chromium.org/1714523006/diff/40001/third_party/WebKit/Source/platform/heap/ThreadState.cpp File third_party/WebKit/Source/platform/heap/ThreadState.cpp (right): https://codereview.chromium.org/1714523006/diff/40001/third_party/WebKit/Source/platform/heap/ThreadState.cpp#newcode1481 third_party/WebKit/Source/platform/heap/ThreadState.cpp:1481: for (size_t gcInfoIndex = 1; gcInfoIndex <= GCInfoTable::gcInfoIndex(); ++gcInfoIndex) ...
4 years, 10 months ago (2016-02-19 11:58:04 UTC) #21
sof
https://codereview.chromium.org/1714523006/diff/40001/third_party/WebKit/Source/platform/heap/Visitor.h File third_party/WebKit/Source/platform/heap/Visitor.h (right): https://codereview.chromium.org/1714523006/diff/40001/third_party/WebKit/Source/platform/heap/Visitor.h#newcode45 third_party/WebKit/Source/platform/heap/Visitor.h:45: #include "wtf/InstanceCounter.h" This now no longer needed.
4 years, 10 months ago (2016-02-19 12:00:50 UTC) #23
hajimehoshi
Thank you! https://codereview.chromium.org/1714523006/diff/40001/third_party/WebKit/Source/platform/heap/ThreadState.cpp File third_party/WebKit/Source/platform/heap/ThreadState.cpp (right): https://codereview.chromium.org/1714523006/diff/40001/third_party/WebKit/Source/platform/heap/ThreadState.cpp#newcode1481 third_party/WebKit/Source/platform/heap/ThreadState.cpp:1481: for (size_t gcInfoIndex = 1; gcInfoIndex <= ...
4 years, 10 months ago (2016-02-19 12:15:45 UTC) #24
haraken
https://codereview.chromium.org/1714523006/diff/40001/third_party/WebKit/Source/platform/heap/ThreadState.cpp File third_party/WebKit/Source/platform/heap/ThreadState.cpp (right): https://codereview.chromium.org/1714523006/diff/40001/third_party/WebKit/Source/platform/heap/ThreadState.cpp#newcode1481 third_party/WebKit/Source/platform/heap/ThreadState.cpp:1481: for (size_t gcInfoIndex = 1; gcInfoIndex <= GCInfoTable::gcInfoIndex(); ++gcInfoIndex) ...
4 years, 10 months ago (2016-02-19 12:19:40 UTC) #25
hajimehoshi
On 2016/02/19 12:19:40, haraken wrote: > https://codereview.chromium.org/1714523006/diff/40001/third_party/WebKit/Source/platform/heap/ThreadState.cpp > File third_party/WebKit/Source/platform/heap/ThreadState.cpp (right): > > https://codereview.chromium.org/1714523006/diff/40001/third_party/WebKit/Source/platform/heap/ThreadState.cpp#newcode1481 > ...
4 years, 10 months ago (2016-02-19 12:27:17 UTC) #26
Primiano Tucci (use gerrit)
On 2016/02/19 12:19:40, haraken wrote: > BTW, if we remove the loop, won't we lose ...
4 years, 10 months ago (2016-02-19 12:32:23 UTC) #27
haraken
On 2016/02/19 12:27:17, hajimehoshi wrote: > On 2016/02/19 12:19:40, haraken wrote: > > > https://codereview.chromium.org/1714523006/diff/40001/third_party/WebKit/Source/platform/heap/ThreadState.cpp ...
4 years, 10 months ago (2016-02-19 12:32:46 UTC) #28
hajimehoshi
On 2016/02/19 12:32:46, haraken wrote: > On 2016/02/19 12:27:17, hajimehoshi wrote: > > On 2016/02/19 ...
4 years, 10 months ago (2016-02-19 13:01:55 UTC) #30
Primiano Tucci (use gerrit)
haraken and I had a chat offline looking at a trace. I think the agreement ...
4 years, 10 months ago (2016-02-19 15:22:32 UTC) #31
tasak
On 2016/02/19 15:22:32, Primiano Tucci wrote: > haraken and I had a chat offline looking ...
4 years, 10 months ago (2016-02-22 09:23:11 UTC) #32
hajimehoshi
On 2016/02/22 09:23:11, tasak wrote: > On 2016/02/19 15:22:32, Primiano Tucci wrote: > > haraken ...
4 years, 10 months ago (2016-02-22 09:47:16 UTC) #33
hajimehoshi
On 2016/02/22 09:47:16, hajimehoshi wrote: > On 2016/02/22 09:23:11, tasak wrote: > > On 2016/02/19 ...
4 years, 10 months ago (2016-02-22 09:51:52 UTC) #34
haraken
On 2016/02/22 09:51:52, hajimehoshi wrote: > On 2016/02/22 09:47:16, hajimehoshi wrote: > > On 2016/02/22 ...
4 years, 10 months ago (2016-02-22 10:04:54 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714523006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714523006/60001
4 years, 10 months ago (2016-02-22 10:10:11 UTC) #38
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-02-22 11:21:20 UTC) #40
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/89fb6454ae09c4390ea760428a67f82dd11a7790 Cr-Commit-Position: refs/heads/master@{#376713}
4 years, 10 months ago (2016-02-22 11:22:34 UTC) #42
Primiano Tucci (use gerrit)
4 years, 10 months ago (2016-02-22 11:23:15 UTC) #43
Message was sent while issue was closed.
On 2016/02/22 11:21:20, commit-bot: I haz the power wrote:
> Committed patchset #4 (id:60001)

Yup. Sorry for the back and forths it took to converge. LGTM.

Powered by Google App Engine
This is Rietveld 408576698