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

Issue 1926863003: Make Isolate::GetStackSample API support simulator (Closed)

Created:
4 years, 7 months ago by lpy
Modified:
4 years, 7 months ago
CC:
fmeawad, Paweł Hajdan Jr., 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

Make Isolate::GetStackSample API support simulator Currently GetStackSample doesn't support simulator, thus sampler is aware of simulator, but since we are moving it out, it shouldn't have knowledge of simulator. This patch moves the logic using simulator accessible to Isolate::GetStackSample, so that it supports simulator. BUG=v8:4956 LOG=n Committed: https://crrev.com/b027b623dff557dc88b70a7cbe422a8c56b27164 Cr-Commit-Position: refs/heads/master@{#35944}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Patch Set 4 : #

Total comments: 10

Patch Set 5 : #

Total comments: 4

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -73 lines) Patch
M src/api.cc View 1 2 3 4 1 chunk +10 lines, -1 line 0 comments Download
M src/profiler/sampler.h View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M src/profiler/sampler.cc View 1 2 3 4 5 4 chunks +49 lines, -72 lines 0 comments Download

Messages

Total messages: 31 (7 generated)
lpy
PTAL.
4 years, 7 months ago (2016-04-27 22:04:55 UTC) #2
alph
https://codereview.chromium.org/1926863003/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1926863003/diff/1/include/v8.h#newcode5803 include/v8.h:5803: void GetStackSample(RegisterState* state, void** frames, Why do you need ...
4 years, 7 months ago (2016-04-27 22:29:20 UTC) #3
lpy
On 2016/04/27 22:29:20, alph wrote: > https://codereview.chromium.org/1926863003/diff/1/include/v8.h > File include/v8.h (right): > > https://codereview.chromium.org/1926863003/diff/1/include/v8.h#newcode5803 > ...
4 years, 7 months ago (2016-04-28 18:20:59 UTC) #4
alph
On 2016/04/28 18:20:59, lpy wrote: > On 2016/04/27 22:29:20, alph wrote: > > https://codereview.chromium.org/1926863003/diff/1/include/v8.h > ...
4 years, 7 months ago (2016-04-29 00:12:35 UTC) #6
lpy
On 2016/04/29 00:12:35, alph wrote: > On 2016/04/28 18:20:59, lpy wrote: > > On 2016/04/27 ...
4 years, 7 months ago (2016-04-29 00:15:23 UTC) #7
alph
On 2016/04/29 00:15:23, lpy wrote: > On 2016/04/29 00:12:35, alph wrote: > > On 2016/04/28 ...
4 years, 7 months ago (2016-04-29 00:20:28 UTC) #8
lpy
On 2016/04/29 00:20:28, alph wrote: > On 2016/04/29 00:15:23, lpy wrote: > > On 2016/04/29 ...
4 years, 7 months ago (2016-04-29 00:23:31 UTC) #9
alph
On 2016/04/29 00:23:31, lpy wrote: > On 2016/04/29 00:20:28, alph wrote: > > On 2016/04/29 ...
4 years, 7 months ago (2016-04-29 00:25:32 UTC) #10
lpy
On 2016/04/29 00:25:32, alph wrote: > On 2016/04/29 00:23:31, lpy wrote: > > On 2016/04/29 ...
4 years, 7 months ago (2016-04-29 00:30:45 UTC) #11
alph
On 2016/04/29 00:30:45, lpy wrote: > On 2016/04/29 00:25:32, alph wrote: > > On 2016/04/29 ...
4 years, 7 months ago (2016-04-29 00:34:11 UTC) #12
alph
On 2016/04/29 00:34:11, alph wrote: > On 2016/04/29 00:30:45, lpy wrote: > > On 2016/04/29 ...
4 years, 7 months ago (2016-04-29 00:35:21 UTC) #13
lpy
I updated the CL as we discussed. PTAL.
4 years, 7 months ago (2016-04-29 02:38:06 UTC) #15
alph
https://codereview.chromium.org/1926863003/diff/20001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/1926863003/diff/20001/src/api.cc#newcode7526 src/api.cc:7526: regs.pc = state.pc; nit: you don't need to do ...
4 years, 7 months ago (2016-04-29 18:55:06 UTC) #16
lpy
Thanks, I made a few changes. PTAL. https://codereview.chromium.org/1926863003/diff/20001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/1926863003/diff/20001/src/api.cc#newcode7526 src/api.cc:7526: regs.pc = ...
4 years, 7 months ago (2016-04-29 19:51:59 UTC) #17
alph
great! thanks. https://codereview.chromium.org/1926863003/diff/60001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/1926863003/diff/60001/src/api.cc#newcode7534 src/api.cc:7534: i::TickSample::GetStackSample(isolate, state, i::TickSample::kSkipCEntryFrame, You don't have to ...
4 years, 7 months ago (2016-04-29 20:59:57 UTC) #18
alph
great! thanks.
4 years, 7 months ago (2016-04-29 21:00:00 UTC) #19
lpy
Thanks. Please take another look. https://codereview.chromium.org/1926863003/diff/60001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/1926863003/diff/60001/src/api.cc#newcode7534 src/api.cc:7534: i::TickSample::GetStackSample(isolate, state, i::TickSample::kSkipCEntryFrame, On ...
4 years, 7 months ago (2016-04-29 21:43:11 UTC) #20
alph
lgtm https://codereview.chromium.org/1926863003/diff/80001/src/profiler/sampler.h File src/profiler/sampler.h (right): https://codereview.chromium.org/1926863003/diff/80001/src/profiler/sampler.h#newcode14 src/profiler/sampler.h:14: #include "src/simulator.h" leave it in sampler.cc https://codereview.chromium.org/1926863003/diff/80001/src/profiler/sampler.h#newcode148 src/profiler/sampler.h:148: ...
4 years, 7 months ago (2016-04-29 22:07:33 UTC) #21
lpy
Thanks for the review. jochen@, PTAL. https://codereview.chromium.org/1926863003/diff/80001/src/profiler/sampler.h File src/profiler/sampler.h (right): https://codereview.chromium.org/1926863003/diff/80001/src/profiler/sampler.h#newcode14 src/profiler/sampler.h:14: #include "src/simulator.h" On ...
4 years, 7 months ago (2016-04-29 22:15:18 UTC) #22
jochen (gone - plz use gerrit)
lgtm
4 years, 7 months ago (2016-05-02 16:18:16 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1926863003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1926863003/100001
4 years, 7 months ago (2016-05-02 16:19:01 UTC) #26
lpy
On 2016/05/02 16:18:16, jochen wrote: > lgtm Thanks.
4 years, 7 months ago (2016-05-02 16:19:06 UTC) #27
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 7 months ago (2016-05-02 16:47:25 UTC) #29
commit-bot: I haz the power
4 years, 7 months ago (2016-05-02 16:47:50 UTC) #31
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/b027b623dff557dc88b70a7cbe422a8c56b27164
Cr-Commit-Position: refs/heads/master@{#35944}

Powered by Google App Engine
This is Rietveld 408576698