DescriptionInitialize the memory allocated by Vector<IsPod<T>>
For performance reasons
(see https://bugs.webkit.org/show_bug.cgi?id=101649#c5),
Vector used not to initialize the memory allocated for POD
types. This yielded to several use of uninitialized memory
in our code and potentially more of them so it makes sense
to just zero the allocated the memory.
This change just remove the previous initialization so
Vector now initialize the memory to 0 for POD.
BUG=364675, 158510
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174384
Patch Set 1 #Patch Set 2 : Better change #
Messages
Total messages: 9 (0 generated)
|