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

Issue 2117343006: Introduce v8::CpuProfiler::New and v8::CpuProfiler::Dispose API. (Closed)

Created:
4 years, 5 months ago by alph
Modified:
4 years, 5 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Introduce v8::CpuProfiler::New and v8::CpuProfiler::Dispose API. Isolate is not going to retain a CPU profiler. The client will be creating an instance of profiler when needed. Deprectate v8::Isolate::GetCpuProfiler() BUG=v8:4789 Committed: https://crrev.com/120b753f71af7588480f4e35bdb6ffb001e87e2e Cr-Commit-Position: refs/heads/master@{#37613}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Remove ProfilerExtension::Scope #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -121 lines) Patch
M include/v8.h View 1 chunk +2 lines, -1 line 0 comments Download
M include/v8-profiler.h View 1 chunk +13 lines, -2 lines 0 comments Download
M src/api.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/isolate.h View 2 chunks +4 lines, -1 line 0 comments Download
M test/cctest/profiler-extension.h View 1 2 chunks +10 lines, -0 lines 0 comments Download
M test/cctest/profiler-extension.cc View 1 2 chunks +10 lines, -11 lines 0 comments Download
M test/cctest/test-api.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/test-cpu-profiler.cc View 1 36 chunks +107 lines, -75 lines 0 comments Download
M test/cctest/test-profile-generator.cc View 1 8 chunks +29 lines, -29 lines 0 comments Download

Messages

Total messages: 24 (11 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2117343006/1
4 years, 5 months ago (2016-07-06 19:28:32 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-06 19:55:01 UTC) #5
alph
4 years, 5 months ago (2016-07-06 20:32:58 UTC) #7
lpy
Could you please make the description fit to 80-column? https://codereview.chromium.org/2117343006/diff/1/test/cctest/test-cpu-profiler.cc File test/cctest/test-cpu-profiler.cc (right): https://codereview.chromium.org/2117343006/diff/1/test/cctest/test-cpu-profiler.cc#newcode1010 test/cctest/test-cpu-profiler.cc:1010: ...
4 years, 5 months ago (2016-07-06 21:34:35 UTC) #8
alph
https://codereview.chromium.org/2117343006/diff/1/test/cctest/test-cpu-profiler.cc File test/cctest/test-cpu-profiler.cc (right): https://codereview.chromium.org/2117343006/diff/1/test/cctest/test-cpu-profiler.cc#newcode1010 test/cctest/test-cpu-profiler.cc:1010: v8::internal::ProfilerExtension::Scope profiler_scope(CcTest::isolate()); On 2016/07/06 21:34:35, lpy wrote: > I ...
4 years, 5 months ago (2016-07-06 21:45:16 UTC) #9
lpy
Thanks for the clarification. LGTM from my side.
4 years, 5 months ago (2016-07-06 21:59:48 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2117343006/20001
4 years, 5 months ago (2016-07-06 22:42:41 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-06 23:09:16 UTC) #15
alph
Yang, could you please take a look. https://codereview.chromium.org/2117343006/diff/1/test/cctest/test-cpu-profiler.cc File test/cctest/test-cpu-profiler.cc (right): https://codereview.chromium.org/2117343006/diff/1/test/cctest/test-cpu-profiler.cc#newcode1010 test/cctest/test-cpu-profiler.cc:1010: v8::internal::ProfilerExtension::Scope profiler_scope(CcTest::isolate()); ...
4 years, 5 months ago (2016-07-06 23:12:41 UTC) #16
Yang
lgtm
4 years, 5 months ago (2016-07-08 09:43:48 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2117343006/20001
4 years, 5 months ago (2016-07-08 14:33:15 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-08 15:00:33 UTC) #22
commit-bot: I haz the power
4 years, 5 months ago (2016-07-08 15:01:23 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/120b753f71af7588480f4e35bdb6ffb001e87e2e
Cr-Commit-Position: refs/heads/master@{#37613}

Powered by Google App Engine
This is Rietveld 408576698