Bug 286426
| Summary: | FixedVector should take a Malloc template parameter like Vector does | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Marcus Plutowski <marcus_plutowski> |
| Component: | Web Template Framework | Assignee: | 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
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
Pull request: https://github.com/WebKit/WebKit/pull/39452
EWS
Committed 289364@main (b0c6df0dd951): <https://commits.webkit.org/289364@main>
Reviewed commits have been landed. Closing PR #39452 and removing active labels.