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 1302183010: Oilpan: Add a compile-time flag: DETAILED_MEMORY_INFRA (Closed)

Created:
5 years, 3 months ago by haraken
Modified:
5 years, 3 months ago
Reviewers:
keishi, hajimehoshi, bashi
CC:
blink-reviews, Mads Ager (chromium), oilpan-reviews, blink-reviews-wtf_chromium.org, kouhei+heap_chromium.org, Mikhail
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Oilpan: Add a compile-time flag: DETAILED_MEMORY_INFRA All the memory stats should be displayed in memory-infra. However, some memory stats are too heavy to profile in production builds. We can use the DETAILED_MEMORY_INFRA flag for them. BTW, GC_PROFILING flag will be removed soon. All the information in the GC profiler has been migrated to memory-infra. BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201891

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -6 lines) Patch
M Source/build/features.gypi View 2 chunks +8 lines, -0 lines 1 comment Download
M Source/platform/heap/GCInfo.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/platform/heap/ThreadState.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/heap/Visitor.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/wtf/InstanceCounter.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/wtf/InstanceCounter.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (2 generated)
haraken
PTAL In this CL, the DETAILED_MEMORY_INFRA flag is used only for Oilpan. In the future, ...
5 years, 3 months ago (2015-09-08 01:08:19 UTC) #2
keishi
LGTM
5 years, 3 months ago (2015-09-08 03:39:52 UTC) #3
bashi
LGTM https://codereview.chromium.org/1302183010/diff/1/Source/build/features.gypi File Source/build/features.gypi (right): https://codereview.chromium.org/1302183010/diff/1/Source/build/features.gypi#newcode54 Source/build/features.gypi:54: 'blink_gc_profiling%': 0, why can't we remove this now?
5 years, 3 months ago (2015-09-08 03:52:28 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1302183010/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1302183010/1
5 years, 3 months ago (2015-09-08 04:00:45 UTC) #6
haraken
> https://codereview.chromium.org/1302183010/diff/1/Source/build/features.gypi > File Source/build/features.gypi (right): > > https://codereview.chromium.org/1302183010/diff/1/Source/build/features.gypi#newcode54 > Source/build/features.gypi:54: 'blink_gc_profiling%': 0, > why ...
5 years, 3 months ago (2015-09-08 04:04:31 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://src.chromium.org/viewvc/blink?view=rev&revision=201891
5 years, 3 months ago (2015-09-08 04:54:07 UTC) #8
sof
On 2015/09/08 04:04:31, haraken wrote: > > https://codereview.chromium.org/1302183010/diff/1/Source/build/features.gypi > > File Source/build/features.gypi (right): > > ...
5 years, 3 months ago (2015-09-08 06:13:38 UTC) #9
haraken
5 years, 3 months ago (2015-09-08 06:22:15 UTC) #10
Message was sent while issue was closed.
On 2015/09/08 06:13:38, sof wrote:
> On 2015/09/08 04:04:31, haraken wrote:
> > >
https://codereview.chromium.org/1302183010/diff/1/Source/build/features.gypi
> > > File Source/build/features.gypi (right):
> > > 
> > >
> >
>
https://codereview.chromium.org/1302183010/diff/1/Source/build/features.gypi#...
> > > Source/build/features.gypi:54: 'blink_gc_profiling%': 0,
> > > why can't we remove this now?
> > 
> > We can. I just don't want to remove the profiler until we ship oilpan and
> > stabilize.
> 
> Shouldn't the provision of GCInfo::className() be
> 
>   #if ENABLE(DETAILED_MEMORY_INFRA) || ENABLE(GC_PROFILING)
> 
> until then?

Right, will fix.

Powered by Google App Engine
This is Rietveld 408576698