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

Issue 117353002: Delete several deprecated methods on v8::CpuProfiler (Closed)

Created:
7 years ago by yurys
Modified:
7 years ago
CC:
v8-dev, Paweł Hajdan Jr.
Visibility:
Public.

Description

Delete several deprecated methods on v8::CpuProfiler All methods for accessing collected profiles by index are deprecated. The indexed storage may well be implemented by the embedder should he need it. CpuProfiler's responsibility is just to create CpuProfile object that contains all collected data and whose lifetime can be managed by the embedder. BUG=chromium:327298 LOG=Y R=svenpanne@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=18337

Patch Set 1 #

Total comments: 10

Patch Set 2 : Use v8::String::Empty as suggested #

Patch Set 3 : Deleted deprecated methods #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -250 lines) Patch
M include/v8-profiler.h View 1 2 3 chunks +0 lines, -19 lines 0 comments Download
M src/api.cc View 1 2 4 chunks +0 lines, -21 lines 0 comments Download
M src/cpu-profiler.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M src/cpu-profiler.cc View 1 2 3 chunks +1 line, -3 lines 0 comments Download
M src/profile-generator.h View 1 2 3 chunks +2 lines, -4 lines 0 comments Download
M src/profile-generator.cc View 1 2 4 chunks +4 lines, -6 lines 0 comments Download
M test/cctest/cctest.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A + test/cctest/profiler-extension.h View 1 chunk +10 lines, -16 lines 0 comments Download
A + test/cctest/profiler-extension.cc View 1 1 chunk +29 lines, -39 lines 0 comments Download
M test/cctest/test-api.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-cpu-profiler.cc View 1 2 22 chunks +50 lines, -70 lines 0 comments Download
M test/cctest/test-profile-generator.cc View 1 2 10 chunks +15 lines, -70 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
yurys
7 years ago (2013-12-17 16:00:26 UTC) #1
alph
https://codereview.chromium.org/117353002/diff/1/test/cctest/profiler-extension.cc File test/cctest/profiler-extension.cc (right): https://codereview.chromium.org/117353002/diff/1/test/cctest/profiler-extension.cc#newcode60 test/cctest/profiler-extension.cc:60: v8::String::NewFromUtf8(args.GetIsolate(), "")); Will v8::String::Empty() work here? https://codereview.chromium.org/117353002/diff/1/test/cctest/profiler-extension.cc#newcode71 test/cctest/profiler-extension.cc:71: v8::String::NewFromUtf8(args.GetIsolate(), ...
7 years ago (2013-12-17 16:20:16 UTC) #2
Sven Panne
https://codereview.chromium.org/117353002/diff/1/test/cctest/profiler-extension.cc File test/cctest/profiler-extension.cc (right): https://codereview.chromium.org/117353002/diff/1/test/cctest/profiler-extension.cc#newcode60 test/cctest/profiler-extension.cc:60: v8::String::NewFromUtf8(args.GetIsolate(), "")); On 2013/12/17 16:20:17, alph wrote: > Will ...
7 years ago (2013-12-18 06:48:20 UTC) #3
Sven Panne
Thinking about this CL a bit more: As was already mentioned, we plan to remove ...
7 years ago (2013-12-18 06:57:18 UTC) #4
yurys
https://codereview.chromium.org/117353002/diff/1/test/cctest/profiler-extension.cc File test/cctest/profiler-extension.cc (right): https://codereview.chromium.org/117353002/diff/1/test/cctest/profiler-extension.cc#newcode60 test/cctest/profiler-extension.cc:60: v8::String::NewFromUtf8(args.GetIsolate(), "")); On 2013/12/17 16:20:17, alph wrote: > Will ...
7 years ago (2013-12-18 07:26:19 UTC) #5
yurys
On 2013/12/18 06:57:18, Sven Panne wrote: > Thinking about this CL a bit more: As ...
7 years ago (2013-12-18 07:34:18 UTC) #6
yurys
Sven, I deleted the methods instead of deprecating them as you suggested. Please take another ...
7 years ago (2013-12-18 07:48:26 UTC) #7
Sven Panne
LGTM if Chrome is happy with the changes.
7 years ago (2013-12-18 08:30:56 UTC) #8
yurys
7 years ago (2013-12-18 08:59:23 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 manually as r18337 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698