Reviewers: Vitaly, Description: Create a new class v8::internal::Isolate in isolate.h/isolate.cc. Add isolate.cc to the build system. Move code from v8::internal::V8::Initialize to Isolate::Initialize.
V8::Initialize now calls Isolate::Initialize to do almost all of its work. From here, statics from the rest of the V8 code will gradually move into an Isolate object (created on the first call to Isolate::current() and initialized in V8::initialize). Once the statics have been moved, the API will be extended to allow for the creation and use of multiple isolates. Backward compatibility can be maintained using a single isolate (similar to how this changelist operates). Please review this at http://codereview.chromium.org/2310003/show SVN Base: http://v8.googlecode.com/svn/branches/experimental/isolates/ Affected files: M src/SConscript A src/isolate.h A src/isolate.cc M src/v8.cc -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
