DescriptionWhen we do native memory snapshot we counts only external string resources that have been added to heap->external_string_table_.
I found that not all the strings that have external resources were added to this table.
We do not add Symbols to the table probably because they have different lifetime.
But these symbols also could have external resources. As example it could happen when we assign innerHtml.
The simplest solution is to visit symbol_table too.
BUG=none
TEST=VisitExternalStrings
R=yurys
Patch Set 1 #Patch Set 2 : external resource for a symbol will also be counted in external_string_table. #Patch Set 3 : with minor test fix #Patch Set 4 : with minor test fix #Messages
Total messages: 9 (0 generated)
|