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

Issue 16035027: DevTools: CPUProfiler: provide url for scripts that have sourceURL property. (Closed)

Created:
7 years, 6 months ago by loislo
Modified:
7 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

DevTools: CPUProfiler: provide url for scripts that have sourceURL property. BUG=none TEST=SourceURLSupportForNewFunctions, LogExistingFunctionSourceURLCheck R=jkummerow@chromium.org, yurys@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15074

Patch Set 1 #

Patch Set 2 : fixed crashes on tests #

Patch Set 3 : test was added #

Total comments: 3

Patch Set 4 : the fix was simplified. Tests were extracted from the existing one. #

Patch Set 5 : dinamicaly compiled code also covered #

Total comments: 2

Patch Set 6 : polish #

Patch Set 7 : use temporary context at StartProfiling #

Patch Set 8 : debugger context #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -3 lines) Patch
M src/api.cc View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M src/compiler.cc View 1 2 3 4 5 6 2 chunks +10 lines, -1 line 0 comments Download
M src/cpu-profiler.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M src/handles.cc View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M src/log.cc View 1 2 3 4 5 6 1 chunk +10 lines, -2 lines 0 comments Download
M test/cctest/test-cpu-profiler.cc View 1 2 3 4 5 6 1 chunk +76 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
loislo
7 years, 6 months ago (2013-06-11 10:13:18 UTC) #1
yurys
Please provide a test for this.
7 years, 6 months ago (2013-06-11 10:14:39 UTC) #2
loislo
On 2013/06/11 10:14:39, Yury Semikhatsky wrote: > Please provide a test for this. done
7 years, 6 months ago (2013-06-11 11:03:54 UTC) #3
yurys
https://codereview.chromium.org/16035027/diff/7001/src/handles.cc File src/handles.cc (right): https://codereview.chromium.org/16035027/diff/7001/src/handles.cc#newcode369 src/handles.cc:369: if (!isolate->IsInitialized()) { Can we move this check to ...
7 years, 6 months ago (2013-06-11 11:23:06 UTC) #4
loislo
On 2013/06/11 11:23:06, Yury Semikhatsky wrote: > https://codereview.chromium.org/16035027/diff/7001/src/handles.cc > File src/handles.cc (right): > > https://codereview.chromium.org/16035027/diff/7001/src/handles.cc#newcode369 ...
7 years, 6 months ago (2013-06-11 12:02:33 UTC) #5
loislo
On 2013/06/11 12:02:33, loislo wrote: > On 2013/06/11 11:23:06, Yury Semikhatsky wrote: > > https://codereview.chromium.org/16035027/diff/7001/src/handles.cc ...
7 years, 6 months ago (2013-06-11 14:07:32 UTC) #6
vsevik
https://codereview.chromium.org/16035027/diff/17001/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/16035027/diff/17001/src/compiler.cc#newcode1188 src/compiler.cc:1188: Handle<Object> name = GetScriptNameOrSourceURL(script); Can you just do GetScriptNameOrSourceURL ...
7 years, 6 months ago (2013-06-11 14:26:01 UTC) #7
yurys
lgtm https://codereview.chromium.org/16035027/diff/17001/src/log.cc File src/log.cc (right): https://codereview.chromium.org/16035027/diff/17001/src/log.cc#newcode1742 src/log.cc:1742: if (line_num >= 0) { Can you change ...
7 years, 6 months ago (2013-06-11 14:40:38 UTC) #8
loislo
On 2013/06/11 14:40:38, Yury Semikhatsky wrote: > lgtm > > https://codereview.chromium.org/16035027/diff/17001/src/log.cc > File src/log.cc (right): ...
7 years, 6 months ago (2013-06-11 14:58:30 UTC) #9
Jakob Kummerow
lgtm
7 years, 6 months ago (2013-06-11 15:07:31 UTC) #10
loislo
7 years, 6 months ago (2013-06-12 08:27:34 UTC) #11
Message was sent while issue was closed.
Committed patchset #6 manually as r15074 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698