DescriptionRefactor 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
Committed: http://code.google.com/p/v8/source/detail?r=3952
Patch Set 1 #Patch Set 2 : '' #
Total comments: 16
Patch Set 3 : '' #
Messages
Total messages: 3 (0 generated)
|