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

Issue 6771047: Move SafeStackFrameIterator::active_count_ into an isolate. (Closed)

Created:
9 years, 8 months ago by mnaganov (inactive)
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Move SafeStackFrameIterator::active_count_ into an isolate. R=ager@chromium.org,vitalyr@chromium.org BUG=none TEST=none Committed: http://code.google.com/p/v8/source/detail?r=7483

Patch Set 1 #

Patch Set 2 : Moved variable to Isolate, as Vitaly has suggested #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -12 lines) Patch
M src/frames.h View 2 chunks +5 lines, -5 lines 0 comments Download
M src/frames.cc View 1 6 chunks +23 lines, -7 lines 4 comments Download
M src/isolate.h View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
mnaganov (inactive)
9 years, 8 months ago (2011-04-01 09:45:14 UTC) #1
mnaganov (inactive)
On 2011/04/01 09:45:14, Mikhail Naganov (Chromium) wrote: As Vitaly suggested, I've moved variable to Isolate.
9 years, 8 months ago (2011-04-01 14:52:05 UTC) #2
Vitaly Repeshko
LGTM http://codereview.chromium.org/6771047/diff/1005/src/frames.cc File src/frames.cc (right): http://codereview.chromium.org/6771047/diff/1005/src/frames.cc#newcode410 src/frames.cc:410: if (SafeStackFrameIterator::is_active(Isolate::Current())) Save result of Isolate::Current() as it's ...
9 years, 8 months ago (2011-04-01 15:16:37 UTC) #3
mnaganov (inactive)
http://codereview.chromium.org/6771047/diff/1005/src/frames.cc File src/frames.cc (right): http://codereview.chromium.org/6771047/diff/1005/src/frames.cc#newcode410 src/frames.cc:410: if (SafeStackFrameIterator::is_active(Isolate::Current())) On 2011/04/01 15:16:37, Vitaly Repeshko wrote: > ...
9 years, 8 months ago (2011-04-01 15:21:39 UTC) #4
Mads Ager (chromium)
9 years, 8 months ago (2011-04-01 15:27:52 UTC) #5
This looks good to make sure that isolates does not lead to trouble here.

I'm still wondering if there is any way to get preemption during stack frame
iteration? If there is, we need to make sure that this is achieved and restored
with threads in ThreadLocalTop.

Powered by Google App Engine
This is Rietveld 408576698