Bug 286332

Summary: SegmentedVector should take a Malloc template parameter like Vector does
Product: WebKit Reporter: Marcus Plutowski <marcus_plutowski>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Marcus Plutowski
Reported 2025-01-21 16:53:48 PST
rdar://143356895 Currently, SegmentedVector uses SegmentedVectorMalloc (usually FastMalloc) unconditionally. This is in contrast to Vector, which, like C++ structures, allow you to pass in a new structure which is then used to allocate the structure’s backing memory. It would be convenient to extend SegmentedVector to change this.
Attachments
Marcus Plutowski
Comment 1 2025-01-21 16:58:10 PST
EWS
Comment 2 2025-01-22 11:11:02 PST
Committed 289249@main (127897575900): <https://commits.webkit.org/289249@main> Reviewed commits have been landed. Closing PR #39355 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.