Bug 286332
| Summary: | SegmentedVector should take a Malloc template parameter like Vector does | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Marcus Plutowski <marcus_plutowski> |
| Component: | New Bugs | 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://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
Pull request: https://github.com/WebKit/WebKit/pull/39355
EWS
Committed 289249@main (127897575900): <https://commits.webkit.org/289249@main>
Reviewed commits have been landed. Closing PR #39355 and removing active labels.