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

Issue 12706020: Isolatify CPU profiler (Closed)

Created:
7 years, 9 months ago by yurys
Modified:
7 years, 9 months ago
CC:
chromium-reviews, pfeldman
Visibility:
Public.

Description

Isolatify CPU profiler BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=13987

Patch Set 1 #

Patch Set 2 : All methods but is_profiling on CpuProfiler are now instance ones #

Patch Set 3 : Removed static CpuProfiler::is_profiling(Isolate*) #

Patch Set 4 : Removed TODO and unnecessary namespace brackets #

Total comments: 7

Patch Set 5 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -242 lines) Patch
M src/api.cc View 1 7 chunks +23 lines, -10 lines 0 comments Download
M src/codegen.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/cpu-profiler.h View 1 2 3 4 1 chunk +45 lines, -58 lines 0 comments Download
M src/cpu-profiler.cc View 1 2 3 4 13 chunks +43 lines, -106 lines 0 comments Download
M src/heap.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/isolate.h View 4 chunks +3 lines, -4 lines 0 comments Download
M src/isolate.cc View 1 3 chunks +5 lines, -2 lines 0 comments Download
M src/log.cc View 1 4 chunks +8 lines, -8 lines 0 comments Download
M src/platform-cygwin.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M src/platform-freebsd.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/platform-linux.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/platform-macos.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M src/platform-openbsd.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/platform-solaris.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/platform-win32.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M src/runtime.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-cpu-profiler.cc View 6 chunks +32 lines, -35 lines 0 comments Download
M test/cctest/test-profile-generator.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
yurys
7 years, 9 months ago (2013-03-19 10:39:50 UTC) #1
yurys
https://codereview.chromium.org/12706020/diff/4002/src/cpu-profiler.h File src/cpu-profiler.h (right): https://codereview.chromium.org/12706020/diff/4002/src/cpu-profiler.h#newcode192 src/cpu-profiler.h:192: if (cpu_profiler->is_profiling()) { \ I don't think we have ...
7 years, 9 months ago (2013-03-19 10:42:05 UTC) #2
loislo
lgtm
7 years, 9 months ago (2013-03-19 11:23:34 UTC) #3
yurys
7 years, 9 months ago (2013-03-19 11:31:27 UTC) #4
Jakob Kummerow
lgtm
7 years, 9 months ago (2013-03-19 11:42:14 UTC) #5
alph
https://codereview.chromium.org/12706020/diff/4002/src/cpu-profiler.cc File src/cpu-profiler.cc (right): https://codereview.chromium.org/12706020/diff/4002/src/cpu-profiler.cc#newcode281 src/cpu-profiler.cc:281: return NULL; Is it intended to return NULL all ...
7 years, 9 months ago (2013-03-19 11:44:28 UTC) #6
Sven Panne
LGTM with a tiny style nit. It would be great if that "Isolatification" was pushed ...
7 years, 9 months ago (2013-03-19 11:54:53 UTC) #7
yurys
https://codereview.chromium.org/12706020/diff/4002/src/cpu-profiler.cc File src/cpu-profiler.cc (right): https://codereview.chromium.org/12706020/diff/4002/src/cpu-profiler.cc#newcode281 src/cpu-profiler.cc:281: return NULL; On 2013/03/19 11:44:28, alph wrote: > Is ...
7 years, 9 months ago (2013-03-19 12:10:54 UTC) #8
yurys
https://codereview.chromium.org/12706020/diff/4002/src/cpu-profiler.h File src/cpu-profiler.h (right): https://codereview.chromium.org/12706020/diff/4002/src/cpu-profiler.h#newcode188 src/cpu-profiler.h:188: #define PROFILE(isolate, Call) \ On 2013/03/19 11:54:53, Sven Panne ...
7 years, 9 months ago (2013-03-19 12:25:11 UTC) #9
yurys
On 2013/03/19 11:54:53, Sven Panne wrote: > LGTM with a tiny style nit. It would ...
7 years, 9 months ago (2013-03-19 12:38:09 UTC) #10
yurys
7 years, 9 months ago (2013-03-19 12:44:43 UTC) #11
Message was sent while issue was closed.
Committed patchset #5 manually as r13987.

Powered by Google App Engine
This is Rietveld 408576698