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

Issue 2189513002: Move SimulatorHelper into V8 out of profiler clients. (Closed)

Created:
4 years, 4 months ago by lpy
Modified:
4 years, 4 months ago
Reviewers:
alph, Yang
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

Move SimulatorHelper into V8 out of profiler clients. This patch is based on alph's CL https://codereview.chromium.org/2128613004/. This patch makes GetStackSample propogate the register state when using simulator helper, and adds argument to avoid using register state from simulator when pass the native register state. BUG=v8:4789 LOG=N Committed: https://crrev.com/c72f637c73823c64b3baea069be73efbca01e747 Cr-Commit-Position: refs/heads/master@{#38554}

Patch Set 1 #

Total comments: 2

Patch Set 2 : update and rebase #

Total comments: 14

Patch Set 3 : Address alph's comments #

Total comments: 12

Patch Set 4 : Update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -139 lines) Patch
M include/v8-profiler.h View 1 2 3 1 chunk +38 lines, -3 lines 0 comments Download
M src/api.cc View 1 2 1 chunk +6 lines, -12 lines 0 comments Download
M src/log.cc View 1 1 chunk +3 lines, -9 lines 0 comments Download
M src/profiler/cpu-profiler.cc View 1 2 3 chunks +7 lines, -13 lines 0 comments Download
M src/profiler/tick-sample.h View 1 2 3 1 chunk +2 lines, -11 lines 0 comments Download
M src/profiler/tick-sample.cc View 1 2 3 5 chunks +111 lines, -88 lines 0 comments Download
M test/cctest/libsampler/test-sampler.cc View 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 35 (21 generated)
lpy
PTAL.
4 years, 4 months ago (2016-07-27 03:13:58 UTC) #6
alph
Honestly, I don't like how the API looks after this patch. https://codereview.chromium.org/2189513002/diff/1/include/v8-profiler.h File include/v8-profiler.h (right): ...
4 years, 4 months ago (2016-07-28 23:57:06 UTC) #7
lpy
On 2016/07/28 23:57:06, alph wrote: > Honestly, I don't like how the API looks after ...
4 years, 4 months ago (2016-07-29 01:06:58 UTC) #8
alph
On 2016/07/29 01:06:58, lpy wrote: > On 2016/07/28 23:57:06, alph wrote: > > Honestly, I ...
4 years, 4 months ago (2016-08-02 07:20:29 UTC) #9
lpy
On 2016/08/02 07:20:29, alph_slow wrote: > On 2016/07/29 01:06:58, lpy wrote: > > On 2016/07/28 ...
4 years, 4 months ago (2016-08-04 20:43:55 UTC) #10
lpy
I made a few updates, ptal.
4 years, 4 months ago (2016-08-05 23:49:02 UTC) #13
alph
https://codereview.chromium.org/2189513002/diff/20001/include/v8-profiler.h File include/v8-profiler.h (right): https://codereview.chromium.org/2189513002/diff/20001/include/v8-profiler.h#newcode66 include/v8-profiler.h:66: * \param isolate The currect isolate. typo. Perhaps just ...
4 years, 4 months ago (2016-08-08 21:36:57 UTC) #16
lpy
Thanks for the comments, I made a few updates. PTAL. https://codereview.chromium.org/2189513002/diff/20001/include/v8-profiler.h File include/v8-profiler.h (right): https://codereview.chromium.org/2189513002/diff/20001/include/v8-profiler.h#newcode66 ...
4 years, 4 months ago (2016-08-09 18:31:44 UTC) #21
alph
lgtm https://codereview.chromium.org/2189513002/diff/40001/include/v8-profiler.h File include/v8-profiler.h (right): https://codereview.chromium.org/2189513002/diff/40001/include/v8-profiler.h#newcode70 include/v8-profiler.h:70: * \param update_state If set to true, V8 ...
4 years, 4 months ago (2016-08-09 19:03:41 UTC) #22
lpy
Thanks, I updated the CL. + Yang@ for review, ptal. https://codereview.chromium.org/2189513002/diff/40001/include/v8-profiler.h File include/v8-profiler.h (right): https://codereview.chromium.org/2189513002/diff/40001/include/v8-profiler.h#newcode70 ...
4 years, 4 months ago (2016-08-10 05:50:04 UTC) #26
Yang
On 2016/08/10 05:50:04, lpy wrote: > Thanks, I updated the CL. > > + Yang@ ...
4 years, 4 months ago (2016-08-10 09:12:15 UTC) #29
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/2189513002/60001
4 years, 4 months ago (2016-08-10 17:09:47 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-10 17:12:10 UTC) #33
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 17:12:36 UTC) #35
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c72f637c73823c64b3baea069be73efbca01e747
Cr-Commit-Position: refs/heads/master@{#38554}

Powered by Google App Engine
This is Rietveld 408576698