WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
286332
SegmentedVector should take a Malloc template parameter like Vector does
https://bugs.webkit.org/show_bug.cgi?id=286332
Summary
SegmentedVector should take a Malloc template parameter like Vector does
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
Add attachment
proposed patch, testcase, etc.
Marcus Plutowski
Comment 1
2025-01-21 16:58:10 PST
Pull request:
https://github.com/WebKit/WebKit/pull/39355
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.
Top of Page
Format For Printing
XML
Clone This Bug