Reviewers: Vitaly, Dmitry Titov,

Message:
Thanks
  Luke

Description:
[Isolates] Remove more statics.

Moved the initialization of some static locals to global scope to prevent
race conditions.

--------------------------------------------------------------------------------
JumpTarget
--------------------------------------------------------------------------------
-> compiling_deferred_code becomes jump_target_compiling_deferred_code

--------------------------------------------------------------------------------
Bootstrapper
--------------------------------------------------------------------------------
-> extensions_cache
-> delete_these_non_arrays_on_tear_down
-> delete_these_arrays_on_tear_down

--------------------------------------------------------------------------------
CodeGeneratorScope
--------------------------------------------------------------------------------
-> top_ becomes code_generator_scope_top
CodeGeneratorScope's ctor takes an Isolate argument

--------------------------------------------------------------------------------
ZoneObjectLists
--------------------------------------------------------------------------------
-> FrameElement::ConstantList becomes frame_element_constant_list
-> Result::ConstantList becomes result_constant_list

Initialization of these is tricky both because they override new and because
they need to be created only within a valid zone scope.

--------------------------------------------------------------------------------
checks.cc
--------------------------------------------------------------------------------
Is it necessary to move fatal_error_handler_nesting_depth?


Please review this at http://codereview.chromium.org/2830026/show

SVN Base: http://v8.googlecode.com/svn/branches/experimental/isolates/

Affected files:
  M     src/arm/codegen-arm.cc
  M     src/bootstrapper.h
  M     src/bootstrapper.cc
  M     src/checks.cc
  M     src/codegen.h
  M     src/codegen.cc
  M     src/compiler.h
  M     src/debug.cc
  M     src/fast-codegen.cc
  M     src/frame-element.h
  M     src/frame-element.cc
  M     src/frames.cc
  M     src/ia32/codegen-ia32.cc
  M     src/ia32/fast-codegen-ia32.cc
  M     src/ia32/register-allocator-ia32.cc
  M     src/ia32/virtual-frame-ia32.h
  M     src/isolate.h
  M     src/isolate.cc
  M     src/jump-target-heavy.h
  M     src/jump-target-heavy.cc
  M     src/jump-target-inl.h
  M     src/jump-target-light.cc
  M     src/mksnapshot.cc
  M     src/register-allocator-inl.h
  M     src/register-allocator.h
  M     src/register-allocator.cc
  M     src/serialize.cc
  M     src/virtual-frame-light-inl.h
  M     src/x64/codegen-x64.cc
  M     src/x64/register-allocator-x64.cc
  M     src/x64/virtual-frame-x64.h
  M     test/cctest/test-serialize.cc


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to