Reviewers: Michael Starzinger,

Message:
PTAL.

Description:
In-place shrinking of descriptor arrays with non-live transitions.
Instead of overwriting non-live transitions with NULL_DESCRIPTORs, we remove
them from the array by compacting the array (shifting live values to the left) and in-place trimming the array. If the final descriptor array contains no live
values (only contained transitions which are now all cleared), we move
bit_field3 back from the descriptor array to the map. The descriptor array
itself will be collected in the next GC.


BUG=
TEST=


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

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

Affected files:
  M src/ast.cc
  M src/bootstrapper.cc
  M src/factory.cc
  M src/ic.cc
  M src/mark-compact.cc
  M src/objects-debug.cc
  M src/objects-inl.h
  M src/objects-printer.cc
  M src/objects.h
  M src/objects.cc
  M src/profile-generator.cc
  M src/property-details.h
  M src/property.h
  M src/property.cc
  M src/runtime.cc


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

Reply via email to