Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b93c112f86d1abbe2cef8abed63c8124b10419c5
      
https://github.com/WebKit/WebKit/commit/b93c112f86d1abbe2cef8abed63c8124b10419c5
  Author: Dan Hecht <[email protected]>
  Date:   2026-07-17 (Fri, 17 Jul 2026)

  Changed paths:
    M Source/bmalloc/libpas/src/test/AllocationZeroingTests.cpp

  Log Message:
  -----------
  [libpas] Add compact-heap coverage to AllocationZeroingTests
https://bugs.webkit.org/show_bug.cgi?id=319699
rdar://182542964

Reviewed by Yusuke Suzuki.

The tests so far only allocate through the non-compact primitive heap (the
pas_non_compact_allocation_mode path fastMalloc uses). fastCompactZeroedMalloc's
always_compact mode routes to a separate compact primitive heap -- its own
regions and reuse/decommit bookkeeping -- which nothing here exercised.

Add Compact as a third HeapVariant so the reuse, page-batching, and
fragmentation sweeps also run against the compact heap. Compact is
untagged-only: the tagged API takes no allocation mode.

* Source/bmalloc/libpas/src/test/AllocationZeroingTests.cpp:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to