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

Issue 383743002: Oilpan: GC profiling. (Closed)

Created:
6 years, 5 months ago by zerny-chromium
Modified:
6 years, 4 months ago
CC:
oilpan-reviews, blink-reviews, Mads Ager (chromium), eae+blinkwatch, abarth-chromium, blink-reviews-events_chromium.org, dglazkov+blink, haraken, blink-reviews-wtf_chromium.org, kouhei+heap_chromium.org, Mikhail
Project:
blink
Visibility:
Public.

Description

Oilpan: GC profiling. This CL adds GC memory profiling using the about:tracing infrastructure. The profiling can be time consuming, so the GC_PROFILE_* macros are used to selectively enable various profiling features for the time being. The GC_TRACING macro has been renamed to GC_PROFILE_MARKING to avoid confusion with about:tracing. The tracing event group has been renamed from blink to blink_gc to allow collection of GC related events independent of other blink events. BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180297

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : rebase #

Total comments: 6

Patch Set 4 : CR #

Patch Set 5 : added missing GC_PROFILE_GROUP #

Patch Set 6 : TracedValue contexts #

Total comments: 19

Patch Set 7 : CR #

Patch Set 8 : removed page-pool stat (rebase issue) #

Patch Set 9 : removed Profiling.h #

Total comments: 2

Patch Set 10 : CR #

Patch Set 11 : remove spuriously added ScriptForbiddenScope #

Patch Set 12 : rebase and static_cast<size_t> #

Patch Set 13 : TracedValue update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+324 lines, -57 lines) Patch
M Source/build/features.gypi View 1 2 3 4 5 6 7 8 2 chunks +11 lines, -3 lines 0 comments Download
M Source/platform/TraceEvent.h View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M Source/platform/heap/Handle.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +3 lines, -3 lines 0 comments Download
M Source/platform/heap/Heap.h View 1 2 3 4 5 6 7 8 9 10 11 12 23 chunks +61 lines, -19 lines 0 comments Download
M Source/platform/heap/Heap.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 18 chunks +121 lines, -17 lines 0 comments Download
M Source/platform/heap/HeapTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/heap/ThreadState.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +34 lines, -1 line 0 comments Download
M Source/platform/heap/ThreadState.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +77 lines, -3 lines 0 comments Download
M Source/platform/heap/Visitor.h View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +6 lines, -6 lines 0 comments Download
M Source/wtf/InstanceCounter.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/wtf/InstanceCounter.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 39 (0 generated)
zerny-chromium
This CL depends on https://codereview.chromium.org/381653002/ I've split up the profiling macros and renamed GC_TRACING to ...
6 years, 5 months ago (2014-07-11 09:14:44 UTC) #1
Mads Ager (chromium)
LGTM https://codereview.chromium.org/383743002/diff/40001/Source/build/features.gypi File Source/build/features.gypi (right): https://codereview.chromium.org/383743002/diff/40001/Source/build/features.gypi#newcode46 Source/build/features.gypi:46: 'gc_profiling%': 0 We might want to split this ...
6 years, 5 months ago (2014-07-11 11:26:54 UTC) #2
zerny-chromium
Thanks for the review. Fixes uploaded. https://codereview.chromium.org/383743002/diff/40001/Source/build/features.gypi File Source/build/features.gypi (right): https://codereview.chromium.org/383743002/diff/40001/Source/build/features.gypi#newcode46 Source/build/features.gypi:46: 'gc_profiling%': 0 On ...
6 years, 5 months ago (2014-07-11 11:56:38 UTC) #3
haraken
Mostly looks good. https://codereview.chromium.org/383743002/diff/100001/Source/build/features.gypi File Source/build/features.gypi (right): https://codereview.chromium.org/383743002/diff/100001/Source/build/features.gypi#newcode93 Source/build/features.gypi:93: 'ENABLE_GC_PROFILING_HEAP=1', Given that we use ENABLE_OILPAN, ...
6 years, 5 months ago (2014-07-14 02:26:14 UTC) #4
zerny-chromium
Thanks for the review! A follow-up patch is pushed to address some of your comments ...
6 years, 4 months ago (2014-07-28 11:54:42 UTC) #5
zerny-chromium
https://codereview.chromium.org/383743002/diff/100001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/383743002/diff/100001/Source/platform/heap/Heap.cpp#newcode1295 Source/platform/heap/Heap.cpp:1295: header->incAge(); On 2014/07/28 11:54:41, zerny-chromium wrote: > On 2014/07/14 ...
6 years, 4 months ago (2014-07-28 11:57:59 UTC) #6
haraken
LGTM https://codereview.chromium.org/383743002/diff/100001/Source/platform/heap/Profiling.h File Source/platform/heap/Profiling.h (right): https://codereview.chromium.org/383743002/diff/100001/Source/platform/heap/Profiling.h#newcode12 Source/platform/heap/Profiling.h:12: #define GC_PROFILE_HEAP ENABLE(GC_PROFILING_HEAP) On 2014/07/28 11:54:41, zerny-chromium wrote: ...
6 years, 4 months ago (2014-07-28 17:45:48 UTC) #7
zerny-chromium
On 2014/07/28 17:45:48, haraken wrote: > LGTM > > https://codereview.chromium.org/383743002/diff/100001/Source/platform/heap/Profiling.h > File Source/platform/heap/Profiling.h (right): > ...
6 years, 4 months ago (2014-07-29 12:12:34 UTC) #8
zerny-chromium
tkent: could I ping you for an owners review? (also, let me know if you'd ...
6 years, 4 months ago (2014-08-04 07:40:01 UTC) #9
tkent
> I've split up the profiling macros and renamed GC_TRACING to GC_PROFILE_MARKING > to cause ...
6 years, 4 months ago (2014-08-05 00:36:57 UTC) #10
tkent
https://codereview.chromium.org/383743002/diff/160001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/383743002/diff/160001/Source/platform/heap/Heap.cpp#newcode375 Source/platform/heap/Heap.cpp:375: TRACE_EVENT0("blinkGC", "Heap::GCScope"); should be "blink_gc" for consistency with "blink_rendering". ...
6 years, 4 months ago (2014-08-05 00:38:10 UTC) #11
zerny-chromium
Thanks for the review. Split out the wtf exports into another CL, updated the description ...
6 years, 4 months ago (2014-08-05 07:28:05 UTC) #12
tkent
lgtm
6 years, 4 months ago (2014-08-05 07:30:44 UTC) #13
zerny-chromium
The CQ bit was checked by zerny@chromium.org
6 years, 4 months ago (2014-08-05 07:43:34 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zerny@chromium.org/383743002/180001
6 years, 4 months ago (2014-08-05 07:45:42 UTC) #15
zerny-chromium
The CQ bit was unchecked by zerny@chromium.org
6 years, 4 months ago (2014-08-05 07:57:36 UTC) #16
zerny-chromium
The CQ bit was checked by zerny@chromium.org
6 years, 4 months ago (2014-08-05 07:59:39 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zerny@chromium.org/383743002/200001
6 years, 4 months ago (2014-08-05 08:01:56 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_rel on tryserver.blink ...
6 years, 4 months ago (2014-08-05 13:13:51 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-05 13:31:38 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/20930)
6 years, 4 months ago (2014-08-05 13:31:39 UTC) #21
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 4 months ago (2014-08-05 22:55:51 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zerny@chromium.org/383743002/200001
6 years, 4 months ago (2014-08-05 22:57:25 UTC) #23
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_compile_dbg on tryserver.blink ...
6 years, 4 months ago (2014-08-05 23:52:18 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-06 00:32:27 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_compile_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_compile_dbg/builds/15393)
6 years, 4 months ago (2014-08-06 00:32:28 UTC) #26
zerny-chromium
The CQ bit was checked by zerny@chromium.org
6 years, 4 months ago (2014-08-06 08:19:41 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zerny@chromium.org/383743002/200001
6 years, 4 months ago (2014-08-06 08:20:49 UTC) #28
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_compile_dbg on tryserver.blink ...
6 years, 4 months ago (2014-08-06 08:37:41 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-06 08:45:24 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_compile_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_compile_dbg/builds/15458) win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/21305)
6 years, 4 months ago (2014-08-06 08:45:26 UTC) #31
zerny-chromium
The CQ bit was checked by zerny@chromium.org
6 years, 4 months ago (2014-08-14 11:44:13 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zerny@chromium.org/383743002/220001
6 years, 4 months ago (2014-08-14 11:45:21 UTC) #33
zerny-chromium
The CQ bit was unchecked by zerny@chromium.org
6 years, 4 months ago (2014-08-14 12:22:23 UTC) #34
zerny-chromium
It appears that the TracedValue structures have been pulled out again, so this needs to ...
6 years, 4 months ago (2014-08-14 12:22:57 UTC) #35
zerny-chromium
The CQ bit was checked by zerny@chromium.org
6 years, 4 months ago (2014-08-14 17:58:41 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zerny@chromium.org/383743002/240001
6 years, 4 months ago (2014-08-14 17:58:57 UTC) #37
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 4 months ago (2014-08-14 19:09:38 UTC) #38
commit-bot: I haz the power
6 years, 4 months ago (2014-08-14 20:16:29 UTC) #39
Message was sent while issue was closed.
Committed patchset #13 (240001) as 180297

Powered by Google App Engine
This is Rietveld 408576698