DescriptionLimit the number of transitions allowed per hidden class.
Each time a transition is added to a hidden class, the whole
transitions array must be copied, which causes poor performance
in some circumstances. This change limits the maximum size of
the transition array, avoiding this behavior in the pathological
case. For example, this improves the performance of the EtchMark
benchmark by nearly 60%.
BUG=v8:3616
LOG=
R=verwaest@chromium.org, svenpanne@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=24857
Patch Set 1 #Patch Set 2 : Added growth; changed limit #
Total comments: 6
Patch Set 3 : Address Toon comments #
Messages
Total messages: 11 (2 generated)
|