DescriptionVM: Use canonical empty-array for empty inlining meta-data.
When inlining meta-information is not used, use Object::empty_array()
instead of Array::New(0), thus saving those allocations.
Guard places for length 0 - before all code objects had an inlining
interval array of length at least 1.
This saves 2 old-space array allocations per unoptimized code object.
R=srdjan@google.com
Committed: https://code.google.com/p/dart/source/detail?r=45435
Patch Set 1 #Patch Set 2 : fixed observatory test #Patch Set 3 : saved one more array per unoptimized code object #
Messages
Total messages: 5 (1 generated)
|