Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 85bf455e9d5db5371ca9b2ee5977382fc32facf9
      
https://github.com/WebKit/WebKit/commit/85bf455e9d5db5371ca9b2ee5977382fc32facf9
  Author: Marcus Plutowski <marcus_plutow...@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
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to