Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4a3abb1f31603891c42872e7ceb1cb40bd49397b
https://github.com/WebKit/WebKit/commit/4a3abb1f31603891c42872e7ceb1cb40bd49397b
Author: David Degazio <[email protected]>
Date: 2023-12-20 (Wed, 20 Dec 2023)
Changed paths:
M Source/WTF/wtf/DebugHeap.h
M Source/WTF/wtf/FastMalloc.h
M Source/WTF/wtf/WeakPtr.cpp
M Source/WTF/wtf/WeakRef.h
Log Message:
-----------
Fix compact allocators with heap identifiers when MALLOC_HEAP_BREAKDOWN is
enabled
https://bugs.webkit.org/show_bug.cgi?id=266667
rdar://119891833
Reviewed by Mark Lam.
Adds definitions for DECLARE/DEFINE_COMPACT_ALLOCATOR_WITH_HEAP_IDENTIFIER
when MALLOC_HEAP_BREAKDOWN is enabled, and ensures they are used properly.
Currently, this takes the form of simply invoking the non-compact forms of
the respective macros, which is consistent with our compact allocator paths
elsewhere in that we don't do allocation profiling when we use the system
malloc. Also declares and defines a heap identifier for
WeakPtrImplBaseSingleThread, which was erroneously being used without being
declared.
* Source/WTF/wtf/DebugHeap.h:
* Source/WTF/wtf/FastMalloc.h:
* Source/WTF/wtf/WeakPtr.cpp:
* Source/WTF/wtf/WeakRef.h:
Canonical link: https://commits.webkit.org/272360@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes