DescriptionA page created a number of ConsStrings that refer to one big string.
Each such string requires small amount of heap memory.
Heap snapshot generator copies all the strings into internal hash map for future use.
The each copy requires much more memory than original v8 string.
I made a workaround for this. The snapshot will copy only first 1024 symbols.
A simple drive-by fix was made for a performance problem in ToCString implementation.
BUG=v8:1816
TEST=none
Committed: http://code.google.com/p/v8/source/detail?r=9928
Patch Set 1 #
Total comments: 4
Patch Set 2 : Comments addressed #Patch Set 3 : length type was changed: uint32_t -> int #
Messages
Total messages: 5 (0 generated)
|