RESOLVED FIXED323682
[ANGLE] Re-enable PoolAllocator under AddressSanitizer
https://bugs.webkit.org/show_bug.cgi?id=323682
Summary [ANGLE] Re-enable PoolAllocator under AddressSanitizer
David Kilzer (:ddkilzer)
Reported 2026-09-08 11:17:44 PDT
ANGLE's `angle::PoolAllocator` (used by the shader translator) is currently bypassed in favor of the system allocator under both AddressSanitizer and ThreadSanitizer builds. This bypass was introduced in Bug 313441 (312740@main). Under ASan, bypassing the PoolAllocator makes ANGLE pathologically slow: some shader-translation test cases run significantly slower than the usual ASan slowdown. The PoolAllocator already integrates with ASan -- it poisons and unpoisons its own redzones via `__asan_poison_memory_region` / `__asan_unpoison_memory_region` -- so ASan continues to detect out-of-bounds access to pool allocations while the pool is enabled. There is no signal that bypassing the pool helps ASan find additional bugs. The bypass is only needed for ThreadSanitizer.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-09-08 11:17:55 PDT
David Kilzer (:ddkilzer)
Comment 2 2026-09-08 12:26:46 PDT
EWS
Comment 3 2026-09-09 13:14:01 PDT
Committed 320756@main (8a3192a38590): <https://commits.webkit.org/320756@main> Reviewed commits have been landed. Closing PR #73486 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.