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

Issue 10778036: The deferred handes list belongs to the Isolate and not to the (Closed)

Created:
8 years, 5 months ago by sanjoy
Modified:
8 years, 5 months ago
Reviewers:
Yang, danno
CC:
v8-dev
Visibility:
Public.

Description

The deferred handes list belongs to the Isolate and not to the HandleScopeImplementer (since it isn't something specific to a particular thread executing on an Isolate). This patch ensures correct traversal of the handles when when multiple compilations are queued up. BUG= TEST= Committed: https://code.google.com/p/v8/source/detail?r=12134

Patch Set 1 #

Total comments: 6

Patch Set 2 : Review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -51 lines) Patch
M src/api.h View 1 7 chunks +13 lines, -12 lines 0 comments Download
M src/api.cc View 1 4 chunks +10 lines, -38 lines 0 comments Download
M src/handles.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M src/heap.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/isolate.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M src/isolate.cc View 1 3 chunks +40 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
sanjoy
8 years, 5 months ago (2012-07-17 16:47:56 UTC) #1
danno
http://codereview.chromium.org/10778036/diff/1/src/api.h File src/api.h (right): http://codereview.chromium.org/10778036/diff/1/src/api.h#newcode406 src/api.h:406: isolate->deferred_handles_head_ = this; I don't think you should reach ...
8 years, 5 months ago (2012-07-18 13:36:17 UTC) #2
sanjoy
Removed tangled dependency. The Isolate now has methods to link / unlink DeferredHandles structures, called ...
8 years, 5 months ago (2012-07-18 14:00:43 UTC) #3
danno
8 years, 5 months ago (2012-07-18 14:06:11 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698