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

Issue 16004007: CPU profiler should support names of accessors set via v8::Object::SetAccessor (Closed)

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

Description

CPU profiler should support names of accessors set via v8::Object::SetAccessor This change fixes the case when the accessors are invoked from JSObject::{Get,Set}PropertyWithCallback. It already works for inlined calls generated by StoreStubCompiler::CompileStoreCallback. The same still needs to be fixed for getter invocations generated by BaseLoadStubCompiler::CompileLoadCallback, corresponding case is commented out in the new test. BUG=244580 R=jkummerow@chromium.org, loislo@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=14915

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added comments for the new tests #

Patch Set 3 : Use OS::Ticks for better control over the accessor execution time #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -0 lines) Patch
M src/objects.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M test/cctest/test-cpu-profiler.cc View 1 2 1 chunk +147 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
yurys
7 years, 6 months ago (2013-05-31 15:29:47 UTC) #1
yurys
7 years, 6 months ago (2013-05-31 16:02:46 UTC) #2
loislo
https://codereview.chromium.org/16004007/diff/1/test/cctest/test-cpu-profiler.cc File test/cctest/test-cpu-profiler.cc (right): https://codereview.chromium.org/16004007/diff/1/test/cctest/test-cpu-profiler.cc#newcode747 test/cctest/test-cpu-profiler.cc:747: env->Global()->Set(v8::String::New("instance"), instance); please extract the common part about creating ...
7 years, 6 months ago (2013-06-03 10:04:50 UTC) #3
yurys
https://codereview.chromium.org/16004007/diff/1/test/cctest/test-cpu-profiler.cc File test/cctest/test-cpu-profiler.cc (right): https://codereview.chromium.org/16004007/diff/1/test/cctest/test-cpu-profiler.cc#newcode747 test/cctest/test-cpu-profiler.cc:747: env->Global()->Set(v8::String::New("instance"), instance); On 2013/06/03 10:04:50, loislo wrote: > please ...
7 years, 6 months ago (2013-06-03 10:07:29 UTC) #4
loislo
lgtm
7 years, 6 months ago (2013-06-03 10:08:56 UTC) #5
loislo
On 2013/06/03 10:08:56, loislo wrote: > lgtm please add a comment about the goal of ...
7 years, 6 months ago (2013-06-03 10:09:38 UTC) #6
Jakob Kummerow
rubber-stamp LGTM so you can land this. I'm leaving the functional review to loislo@.
7 years, 6 months ago (2013-06-03 10:48:57 UTC) #7
yurys
On 2013/06/03 10:09:38, loislo wrote: > On 2013/06/03 10:08:56, loislo wrote: > > lgtm > ...
7 years, 6 months ago (2013-06-03 11:47:07 UTC) #8
yurys
7 years, 6 months ago (2013-06-03 12:50:12 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 manually as r14915 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698