DescriptionFix huge heap snapshot when a heavily shared context has many variables
Prevously v8 put a link to each context variable into a function where
the variable is visible.
Because of that if there are N functions sharing a context having M variables
then N*M links were created for the snapshot.
The fix makes v8 to put the links into the context object.
BUG=145687
TEST=test-heap-snapshot/ManyLocalsInSharedContext
Committed: 13936
Patch Set 1 #
Total comments: 6
Patch Set 2 : Addressing comments. #
Total comments: 4
Patch Set 3 : Made contexts non-hidden +addressed comments #Patch Set 4 : sprintf -> snprintf #
Total comments: 2
MessagesTotal messages: 12
|