Reviewers: Sven Panne,
Description:
Reland 24052 - Require V8 to be explicitly initialized before an Isolate is
created
We also initialize the Isolate on creation.
This should allow for getting rid of the last remaining default isolate
traces. Also, it'll speed up several isolate related operations that no
longer require locks.
Embedders that relied on v8::Isolate to return an uninitialized Isolate
(so they can set ResourceConstraints for example, or set flags that
modify the way the isolate is created) should either do the setup before
creating the isolate, or use the recently added CreateParams to pass e.g.
ResourceConstraints.
BUG=none
LOG=y
[email protected]
Review URL: https://codereview.chromium.org/469783002
BUG=none
LOG=y
[email protected]
Please review this at https://codereview.chromium.org/583153002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1137, -1127 lines):
M include/v8.h
M samples/lineprocessor.cc
M samples/process.cc
M samples/shell.cc
M src/api.cc
M src/base/utils/random-number-generator.h
M src/base/utils/random-number-generator.cc
M src/bootstrapper.cc
M src/d8.cc
M src/isolate.h
M src/isolate.cc
M src/mksnapshot.cc
M src/snapshot.h
M src/snapshot-common.cc
M src/snapshot-external.cc
M src/v8.h
M src/v8.cc
M test/cctest/cctest.h
M test/cctest/cctest.cc
M test/cctest/test-api.cc
M test/cctest/test-ast.cc
M test/cctest/test-dataflow.cc
M test/cctest/test-debug.cc
M test/cctest/test-deoptimization.cc
M test/cctest/test-heap.cc
M test/cctest/test-liveedit.cc
M test/cctest/test-log.cc
M test/cctest/test-macro-assembler-arm.cc
M test/cctest/test-macro-assembler-ia32.cc
M test/cctest/test-macro-assembler-x64.cc
M test/cctest/test-macro-assembler-x87.cc
M test/cctest/test-random-number-generator.cc
M test/cctest/test-regexp.cc
M test/cctest/test-serialize.cc
M test/cctest/test-spaces.cc
M tools/lexer-shell.cc
M tools/parser-shell.cc
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.