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

Issue 499483002: [WIP] A sampler thread in d8 for consuming the new API. (Closed)

Created:
6 years, 4 months ago by gholap
Modified:
6 years, 3 months ago
Project:
v8
Visibility:
Public.

Description

[WIP] A sampler thread in d8 for consuming the new API.

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+527 lines, -19 lines) Patch
M BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A include/v8-sampler.h View 1 chunk +114 lines, -0 lines 4 comments Download
M src/api.cc View 3 chunks +29 lines, -0 lines 0 comments Download
M src/cpu-profiler.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/d8.cc View 5 chunks +8 lines, -1 line 0 comments Download
M src/log.h View 4 chunks +19 lines, -0 lines 0 comments Download
M src/log.cc View 12 chunks +62 lines, -2 lines 2 comments Download
M src/log-utils.h View 3 chunks +11 lines, -0 lines 0 comments Download
M src/log-utils.cc View 1 chunk +17 lines, -0 lines 0 comments Download
M src/sampler.h View 5 chunks +18 lines, -7 lines 0 comments Download
M src/sampler.cc View 9 chunks +114 lines, -9 lines 0 comments Download
A src/sampler-thread.h View 1 chunk +44 lines, -0 lines 0 comments Download
A src/sampler-thread.cc View 1 chunk +85 lines, -0 lines 0 comments Download
M tools/gyp/v8.gyp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
gholap
Initial version, please take a look...
6 years, 4 months ago (2014-08-21 22:41:17 UTC) #1
Benedikt Meurer
bmeurer@chromium.org changed reviewers: + bmeurer@chromium.org, jarin@chromium.org, svenpanne@chromium.org
6 years, 4 months ago (2014-08-26 04:56:26 UTC) #2
Benedikt Meurer
Jaroslav did the perf integration for d8, so he can probably comment on whether this ...
6 years, 4 months ago (2014-08-26 04:59:09 UTC) #3
Benedikt Meurer
https://codereview.chromium.org/499483002/diff/1/include/v8-sampler.h File include/v8-sampler.h (right): https://codereview.chromium.org/499483002/diff/1/include/v8-sampler.h#newcode87 include/v8-sampler.h:87: virtual void SharedLibrary(const std::string& library_path, As discussed earlier, this ...
6 years, 4 months ago (2014-08-26 05:03:57 UTC) #4
Jarin
I think this is unrelated to perf. For perf, we produce a file with code ...
6 years, 4 months ago (2014-08-26 08:23:57 UTC) #5
Sven Panne
6 years, 3 months ago (2014-08-28 07:14:40 UTC) #6
https://codereview.chromium.org/499483002/diff/1/include/v8-sampler.h
File include/v8-sampler.h (right):

https://codereview.chromium.org/499483002/diff/1/include/v8-sampler.h#newcode54
include/v8-sampler.h:54: class V8_EXPORT CodeEventHandler {
Hmmm, this seems to duplicate functionality from JitCodeEventHandler (under a
more or less equivalent interface). We should really, really try to merge the
functionalities as far as possible unless there is a very compelling reason not
to do it.

Powered by Google App Engine
This is Rietveld 408576698