[webkit-changes] [WebKit/WebKit] ae84fa: Use debug heap identifiers with some WTF types

Simon Fraser noreply at github.com
Tue Feb 21 13:18:56 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ae84fa3c0e398395710541e822f756dd1f0e9dd9
      https://github.com/WebKit/WebKit/commit/ae84fa3c0e398395710541e822f756dd1f0e9dd9
  Author: Simon Fraser <simon.fraser at apple.com>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M Source/JavaScriptCore/runtime/CachedTypes.cpp
    M Source/WTF/WTF.xcodeproj/project.pbxproj
    A Source/WTF/wtf/BloomFilter.cpp
    M Source/WTF/wtf/BloomFilter.h
    M Source/WTF/wtf/CMakeLists.txt
    M Source/WTF/wtf/Forward.h
    M Source/WTF/wtf/Vector.cpp
    M Source/WTF/wtf/Vector.h
    A Source/WTF/wtf/WeakPtr.cpp
    M Source/WTF/wtf/WeakPtr.h
    M Source/WebCore/platform/network/cf/FormDataStreamCFNet.cpp

  Log Message:
  -----------
  Use debug heap identifiers with some WTF types
https://bugs.webkit.org/show_bug.cgi?id=252105
rdar://105315621

Reviewed by Yusuke Suzuki.

Assign debug heap identifiers to BloomFilter and WeakPtrImplBase.

Differentiate Vector vs VectorBuffer allocations by allocating
VectorBuffers with a debug heap (when enabled).

* Source/WTF/wtf/BloomFilter.cpp: Added.
* Source/WTF/wtf/BloomFilter.h:
* Source/WTF/wtf/CMakeLists.txt:
* Source/WTF/wtf/Vector.cpp:
* Source/WTF/wtf/Vector.h:
* Source/WTF/wtf/WeakPtr.cpp: Copied from Source/WTF/wtf/Vector.cpp.
* Source/WTF/wtf/WeakPtr.h:

Canonical link: https://commits.webkit.org/260626@main




More information about the webkit-changes mailing list