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

Issue 570993002: Introduce Isolate::CreateParams (Closed)

Created:
6 years, 3 months ago by jochen (gone - plz use gerrit)
Modified:
6 years, 3 months ago
Reviewers:
Sven Panne
CC:
Paweł Hajdan Jr., v8-dev
Project:
v8
Visibility:
Public.

Description

Currently, a new isolate is created in an uninitialized state, and several API methods will automatically initialize it. During this uninitialized state, code event handlers and function entry handlers can be attached to the isolate. This CL deprecates SetFunctionEntryHook and moves the configuration of those handlers to the Isolate factory method. This will allow for initializing the Isolate at creation time in the future. Users of V8::SetFunctionEntryHook should pass the entry hook to Isolate::New instead. V8::SetJitCodeEventHandler should either be passed to Isolate::New as well, or (if startup events are not required) invoked via the Isolate. BUG=none LOG=y R=svenpanne@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=23940

Patch Set 1 #

Patch Set 2 : updates #

Total comments: 4

Patch Set 3 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -136 lines) Patch
M include/v8.h View 1 2 7 chunks +151 lines, -101 lines 0 comments Download
M src/api.cc View 1 2 2 chunks +18 lines, -1 line 0 comments Download
M src/d8.cc View 1 2 chunks +10 lines, -10 lines 0 comments Download
A src/third_party/vtune/DEPS View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/third_party/vtune/v8-vtune.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M src/third_party/vtune/vtune-jit.cc View 1 1 chunk +4 lines, -7 lines 0 comments Download
M test/cctest/test-api.cc View 1 5 chunks +9 lines, -16 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
jochen (gone - plz use gerrit)
6 years, 3 months ago (2014-09-15 08:30:38 UTC) #1
jochen (gone - plz use gerrit)
ptal
6 years, 3 months ago (2014-09-15 09:29:03 UTC) #2
Sven Panne
https://codereview.chromium.org/570993002/diff/20001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/570993002/diff/20001/include/v8.h#newcode4357 include/v8.h:4357: struct CreateParams { Can we somehow indicate "Isolate" in ...
6 years, 3 months ago (2014-09-15 10:43:58 UTC) #3
jochen (gone - plz use gerrit)
https://codereview.chromium.org/570993002/diff/20001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/570993002/diff/20001/include/v8.h#newcode4357 include/v8.h:4357: struct CreateParams { On 2014/09/15 at 10:43:58, Sven Panne ...
6 years, 3 months ago (2014-09-15 11:03:50 UTC) #4
Sven Panne
LGTM. Didn't see the nesting within Isolate... :-}
6 years, 3 months ago (2014-09-15 11:14:23 UTC) #5
jochen (gone - plz use gerrit)
6 years, 3 months ago (2014-09-15 11:17:14 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 23940 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698