Reviewers: Michael Starzinger,

Message:
Please take a look. This depends on
https://chromiumcodereview.appspot.com/11547015/


https://chromiumcodereview.appspot.com/11575007/diff/3003/src/objects.h
File src/objects.h (right):

https://chromiumcodereview.appspot.com/11575007/diff/3003/src/objects.h#newcode4729
src/objects.h:4729: class DependentCodes {
I could make this a proper object that derives from FixedArray, but that
seems to be an overkill. WDYT?

Description:
Make embedded maps in optimized code weak.

Each map has a weak array of dependent codes, where the map tracks all the
optimized codes that embed it.
Old space GC either clears the dead dependent codes from the array if the
corresponding map is alive or deoptimizes the live dependent codes if the map is
dead.

BUG=v8:2073
[email protected]

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

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

Affected files:
  M src/heap.cc
  M src/lithium.h
  M src/lithium.cc
  M src/mark-compact.h
  M src/mark-compact.cc
  M src/objects-inl.h
  M src/objects-visiting-inl.h
  M src/objects.h
  M src/objects.cc


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

Reply via email to