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

Issue 995006: Explicitly declare temporary cooked frames state (Closed)

Created:
10 years, 9 months ago by Peter Rybin
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Explicitly declare temporary cooked frames state Committed: http://code.google.com/p/v8/source/detail?r=4199

Patch Set 1 #

Patch Set 2 : add comment #

Patch Set 3 : follow codereview #

Patch Set 4 : add active thread #

Total comments: 4

Patch Set 5 : merge, codereview #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -9 lines) Patch
M src/frames.cc View 1 2 2 chunks +0 lines, -6 lines 0 comments Download
M src/liveedit.cc View 1 2 3 2 chunks +29 lines, -3 lines 0 comments Download
M src/top.h View 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M src/top.cc View 3 1 chunk +11 lines, -0 lines 0 comments Download
M src/v8threads.h View 4 2 chunks +15 lines, -0 lines 0 comments Download
M src/v8threads.cc View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Peter Rybin
Hi Soren I noticed that my procedure of frames cooking/uncooking does not always work (probably ...
10 years, 9 months ago (2010-03-17 22:19:55 UTC) #1
Søren Thygesen Gjesse
I will suggest that you just remove the two asserts. ASSERT(MarkCompactCollector::IsCompacting() ASSERT(MarkCompactCollector::HasCompacted() I also think ...
10 years, 9 months ago (2010-03-18 07:46:43 UTC) #2
Peter Rybin
I redid so. Added generic iteration over all inactive threads.
10 years, 9 months ago (2010-03-18 23:30:01 UTC) #3
Søren Thygesen Gjesse
LGTM http://codereview.chromium.org/995006/diff/9001/10006 File src/v8threads.h (right): http://codereview.chromium.org/995006/diff/9001/10006#newcode106 src/v8threads.h:106: // Iterate over all inactive threads. Remove "inactive" ...
10 years, 9 months ago (2010-03-19 07:44:01 UTC) #4
Peter Rybin
10 years, 9 months ago (2010-03-20 22:33:07 UTC) #5
http://codereview.chromium.org/995006/diff/9001/10006
File src/v8threads.h (right):

http://codereview.chromium.org/995006/diff/9001/10006#newcode106
src/v8threads.h:106: // Iterate over all inactive threads.
On 2010/03/19 07:44:01, Søren Gjesse wrote:
> Remove "inactive" from comment.

I think I should remove the comment altogether better.
I can't think how "all threads" might mean "all threads except the active one".
I think this would be misleading.

http://codereview.chromium.org/995006/diff/9001/10006#newcode108
src/v8threads.h:108: // Iterate over all inactive threads.
On 2010/03/19 07:44:01, Søren Gjesse wrote:
> Ditto.

Same here.

Powered by Google App Engine
This is Rietveld 408576698