Reviewers: Michael Starzinger,

Message:
PTAL.

Setting of descriptor array over map now has to ensure there is a transition
array, just like for prototype transitions and elements transitions.

On the other hand, setting transition arrays is now immediate via the map, and
does not need to ensure the availability of a descriptor array.

Description:
Swapped transition array and descriptor array.

Now a map points to a transition array which contains the descriptor array. The
descriptor array is now immutable. The next step is to share the descriptor
array with all back-pointed maps as long as there is a single line of extension. Maps that require a descriptor array but don't need transitions will still need
a pseudo-empty transition array to contain the descriptor array.


Please review this at https://chromiumcodereview.appspot.com/10816005/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/arm/macro-assembler-arm.cc
  M src/bootstrapper.cc
  M src/factory.h
  M src/factory.cc
  M src/heap.cc
  M src/ia32/macro-assembler-ia32.cc
  M src/mark-compact.h
  M src/mark-compact.cc
  M src/mips/macro-assembler-mips.cc
  M src/objects-inl.h
  M src/objects.h
  M src/objects.cc
  M src/profile-generator.cc
  M src/runtime.cc
  M src/transitions-inl.h
  M src/transitions.h
  M src/transitions.cc
  M src/x64/macro-assembler-x64.cc
  M test/cctest/test-alloc.cc


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

Reply via email to