DescriptionProperly create zero-initialized local memory.
Previous code used memset() to zero the memory which forces
the pages to be realized and always adds the complete size
to the process's working set.
BUG=612470
Committed: https://crrev.com/eda1a99787e55f9ea71687361e0dd3f54492e603
Cr-Commit-Position: refs/heads/master@{#397489}
Patch Set 1 #Patch Set 2 : added support for Mac (and hopefully all Posix) #Patch Set 3 : cleaned up error message #
Total comments: 4
Patch Set 4 : use DPCHECK instead of DCHECK to print system error messages (and rebased) #Messages
Total messages: 13 (7 generated)
|