Bug 296072

Summary: Make WTF_MAKE_COMPACT_TZONE_ALLOCATED set allowCompactPointers and re-enable TZone compactness inheritance
Product: WebKit Reporter: David Degazio <d_degazio>
Component: bmallocAssignee: David Degazio <d_degazio>
Status: RESOLVED FIXED    
Severity: Normal CC: ggaren, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

David Degazio
Reported 2025-07-16 10:54:14 PDT
We previously tried to do this in https://bugs.webkit.org/show_bug.cgi?id=295215, but had to revert it due to an issue where relying on compactness being set for a type was causing some incorrect behavior in certain TZoned allocations. It turns out we were only setting allowCompactPointers for types that were WTF_MAKE_COMPACT_TZONE_OR_ISO_ALLOCATED, not WTF_MAKE_COMPACT_TZONE_ALLOCATED, so types in the latter category were seeing some amount of incorrect inheritance. This is an easy fix, so let's re-land the inheritance changes.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-07-16 10:54:22 PDT
David Degazio
Comment 2 2025-07-16 11:28:39 PDT
EWS
Comment 3 2025-07-18 14:24:11 PDT
Committed 297621@main (e4bf6e21542a): <https://commits.webkit.org/297621@main> Reviewed commits have been landed. Closing PR #48133 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.