Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ac2f235d63c0dead89627c283358301e2ac5939b
https://github.com/WebKit/WebKit/commit/ac2f235d63c0dead89627c283358301e2ac5939b
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 fragmentation and aliasing coverage to AllocationZeroingTest
https://bugs.webkit.org/show_bug.cgi?id=319697
rdar://182541235
Reviewed by Yusuke Suzuki.
The existing zeroing tests reuse one buffer at a time, leaving two gaps:
born-dirty memory that only surfaces once the large heap has split and
coalesced fragmented free regions, and double-handout -- the allocator
returning an address still owned by a live allocation.
Add a single-threaded case that keeps many mixed-size, mixed-alignment
buffers live under a fragmented heap, checking both: every allocation is
verified zero, and a per-buffer stamp catches any overlap with a live
buffer. The multi-threaded case will be covered by a later chaos test.
* Source/bmalloc/libpas/src/test/AllocationZeroingTests.cpp:
(addAllocationZeroingTests):
Canonical link: https://commits.webkit.org/317418@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications