WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
286426
FixedVector should take a Malloc template parameter like Vector does
https://bugs.webkit.org/show_bug.cgi?id=286426
Summary
FixedVector should take a Malloc template parameter like Vector does
Marcus Plutowski
Reported
2025-01-23 09:28:44 PST
rdar://143497080
Currently, FixedVector (via EmbeddedFixedVector) uses EmbeddedFixedVectorMalloc (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 FixedVector/EmbeddedFixedVector to change this.
Attachments
Add attachment
proposed patch, testcase, etc.
Marcus Plutowski
Comment 1
2025-01-23 09:32:12 PST
Pull request:
https://github.com/WebKit/WebKit/pull/39452
EWS
Comment 2
2025-01-24 13:56:32 PST
Committed
289364@main
(b0c6df0dd951): <
https://commits.webkit.org/289364@main
> Reviewed commits have been landed. Closing PR #39452 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