[webkit-changes] [WebKit/WebKit] 85bf45: [WTF] Use libpas scavenger for SequesteredArenaAll...
Marcus Plutowski
noreply at github.com
Thu Feb 27 23:35:01 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 85bf455e9d5db5371ca9b2ee5977382fc32facf9
https://github.com/WebKit/WebKit/commit/85bf455e9d5db5371ca9b2ee5977382fc32facf9
Author: Marcus Plutowski <marcus_plutowski at apple.com>
Date: 2025-02-27 (Thu, 27 Feb 2025)
Changed paths:
M Source/WTF/wtf/SequesteredAllocator.h
M Source/WTF/wtf/SequesteredImmortalHeap.cpp
M Source/WTF/wtf/SequesteredImmortalHeap.h
Log Message:
-----------
[WTF] Use libpas scavenger for SequesteredArenaAllocator
https://bugs.webkit.org/show_bug.cgi?id=288638
rdar://114840952
Reviewed by Yijia Huang.
Previously SequesteredArenaMalloc was eagerly decomitting, meaning that
the decommit queue had essentially no purpose. Now, we install a hook to
actually allow the scavenger to interface with the allocator and free
those pages asynchronously.
* Source/WTF/wtf/SequesteredAllocator.h:
* Source/WTF/wtf/SequesteredImmortalHeap.h:
(WTF::SequesteredImmortalHeap::computeSlotIndex):
(WTF::SequesteredImmortalHeap::SequesteredImmortalHeap):
(WTF::SequesteredImmortalHeap::scavengeImpl):
Canonical link: https://commits.webkit.org/291308@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list