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

Issue 3545004: [Isolates] Avoid isolate lookup in HandleScope destructor. (Closed)

Created:
10 years, 2 months ago by Vitaly Repeshko
Modified:
9 years, 7 months ago
Reviewers:
Dmitry Titov
CC:
v8-dev
Visibility:
Public.

Description

[Isolates] Avoid isolate lookup in HandleScope destructor. This has a nice side effect that we can assert the isolate stayed the same. I had to update one of our new tests to satisfy this assert. Committed: http://code.google.com/p/v8/source/detail?r=5578

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -37 lines) Patch
M include/v8.h View 1 chunk +3 lines, -1 line 2 comments Download
M src/api.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M src/handles-inl.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/isolate.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-api.cc View 2 chunks +61 lines, -32 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Vitaly Repeshko
10 years, 2 months ago (2010-09-29 21:30:42 UTC) #1
Dmitry Titov
LGTM! I wonder if we should have something more drastic then ASSERT, since in case ...
10 years, 2 months ago (2010-09-29 22:13:59 UTC) #2
Dmitry Titov
Also (still LGTM): http://codereview.chromium.org/3545004/diff/1/2 File include/v8.h (right): http://codereview.chromium.org/3545004/diff/1/2#newcode474 include/v8.h:474: inline void Initialize(internal::Isolate* i) { Tiny ...
10 years, 2 months ago (2010-09-29 22:14:47 UTC) #3
Vitaly Repeshko
http://codereview.chromium.org/3545004/diff/1/2 File include/v8.h (right): http://codereview.chromium.org/3545004/diff/1/2#newcode474 include/v8.h:474: inline void Initialize(internal::Isolate* i) { On 2010/09/29 22:14:47, Dmitry ...
10 years, 2 months ago (2010-10-01 17:16:49 UTC) #4
Dmitry Titov
10 years, 2 months ago (2010-10-01 17:59:51 UTC) #5
You are right. Never mind :-)

Powered by Google App Engine
This is Rietveld 408576698