Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 25afb40a178d8b8f8af4fadc9870d38dea2eb6d5
https://github.com/WebKit/WebKit/commit/25afb40a178d8b8f8af4fadc9870d38dea2eb6d5
Author: Marcus Plutowski <[email protected]>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
M Source/WTF/wtf/SequesteredAllocator.h
Log Message:
-----------
[WTF] Separate SequesteredAllocator::Arena logic from parent
https://bugs.webkit.org/show_bug.cgi?id=289491
rdar://146690839
Reviewed by Yusuke Suzuki.
Previously, the Arena had to hardcode layout information from
SequesteredArenaAllocator so that it could find its parent allocator.
This is safe because we know that each Arena only ever exists within
a SequesteredArenaAllocator, but the logic properly belongs inside the
SAA itself so this patch moves it there.
Symmetrically, the SequesteredArenaAllocator was handling logic that
rather belongs inside of the Arena itself. Putting this there will
enable the usage of multiple separate Arenas w/in a single allocator
in the future.
* Source/WTF/wtf/SequesteredAllocator.h:
Canonical link: https://commits.webkit.org/291969@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes