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

Issue 13799003: Change Context::New not create persistent handles. (Closed)

Created:
7 years, 8 months ago by Michael Starzinger
Modified:
7 years, 8 months ago
Reviewers:
Sven Panne
CC:
v8-dev
Visibility:
Public.

Description

Change Context::New to not create persistent handles. This moves the responsibility of putting a new context into a persistent handle to the embedder. Also it removes one API function where the copy constructor for persistent handles is needed. R=svenpanne@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=14203

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed comments by Sven Panne. #

Total comments: 2

Patch Set 3 : Addressed moar comments by Sven Panne. #

Patch Set 4 : Adapted cctest initialization to new API. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -27 lines) Patch
M include/v8.h View 1 2 3 2 chunks +12 lines, -4 lines 0 comments Download
M src/api.cc View 1 2 3 2 chunks +40 lines, -11 lines 0 comments Download
M src/bootstrapper.cc View 1 2 1 chunk +4 lines, -7 lines 0 comments Download
M src/debug.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M test/cctest/cctest.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M test/cctest/test-decls.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Michael Starzinger
The cctests are not yet adapted, this is a huge chunk of work and I ...
7 years, 8 months ago (2013-04-08 14:23:19 UTC) #1
Sven Panne
https://codereview.chromium.org/13799003/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/13799003/diff/1/include/v8.h#newcode3891 include/v8.h:3891: /** Deprecated. Use Isolate version instead. */ Perhaps add ...
7 years, 8 months ago (2013-04-09 07:08:33 UTC) #2
Michael Starzinger
Comments addressed. I still need to adapt test cases and will do so after rebasing ...
7 years, 8 months ago (2013-04-09 13:29:18 UTC) #3
Sven Panne
LGTM if the "return" is added. https://codereview.chromium.org/13799003/diff/9001/src/bootstrapper.cc File src/bootstrapper.cc (right): https://codereview.chromium.org/13799003/diff/9001/src/bootstrapper.cc#newcode307 src/bootstrapper.cc:307: if (env.is_null() || ...
7 years, 8 months ago (2013-04-09 13:52:28 UTC) #4
Michael Starzinger
Comments addressed. Tests adapted. https://codereview.chromium.org/13799003/diff/9001/src/bootstrapper.cc File src/bootstrapper.cc (right): https://codereview.chromium.org/13799003/diff/9001/src/bootstrapper.cc#newcode307 src/bootstrapper.cc:307: if (env.is_null() || !InstallExtensions(env, extensions)) ...
7 years, 8 months ago (2013-04-10 09:01:11 UTC) #5
Michael Starzinger
7 years, 8 months ago (2013-04-10 09:34:50 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 manually as r14203 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698