• mhahnenberg@apple.com's avatar
    Zero out CopiedBlocks on initialization · 13bbb9d7
    mhahnenberg@apple.com authored
    Reviewed by Filip Pizlo.
    Made CopyBlocks zero their payloads during construction. This allows
    JSArray to avoid having to manually clear its backing store upon allocation
    and also alleviates any future pain with regard to the garbage collector trying
    to mark what it thinks are values in what is actually uninitialized memory.
    * heap/CopiedBlock.h:
    * runtime/JSArray.cpp:
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108716 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog 2.17 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.