Reviewers: Mads Ager,

Description:
Refactor the code cache to handle large number of properties on the global
object.

A separate object type for the code cache have been added. This object has two different code caches. The first one (default_cache) is a fixed array organized
in the same way as the as the code cache was before. The second cache
(global_access_cache) is for code stubs to access the global object. This cache is organized as a hash table taking the property name and code flags as the key.

The reason for separating the global access stubs into a hash table
representation is that the number of these is not bounded in the same was as the
other types.

BUG=613

Please review this at http://codereview.chromium.org/652119

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

Affected files:
  M     src/heap.h
  M     src/heap.cc
  M     src/objects-debug.cc
  M     src/objects-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