Bug 269572
| Summary: | Make Skia use bmalloc/fastMalloc | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Adrian Perez <aperez> |
| Component: | Platform | Assignee: | Adrian Perez <aperez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=273175 | ||
| Bug Depends on: | 269989 | ||
| Bug Blocks: | 268972 | ||
Adrian Perez
Skia supports defining a custom memory allocator, see for example
the one at skia/src/ports/SkMemory_mozalloc.cc to make it use the
same allocator as Firefox when Skia is built as part of Firefox.
We could do the same, calling WTF::fastMalloc() and friends.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Adrian Perez
Pull request: https://github.com/WebKit/WebKit/pull/24619
Adrian Perez
This will need a small patch in Skia, submitted here:
https://skia-review.googlesource.com/c/skia/+/816036/1
Radar WebKit Bug Importer
<rdar://problem/123505828>
EWS
Committed 275315@main (8722ec73f50c): <https://commits.webkit.org/275315@main>
Reviewed commits have been landed. Closing PR #24619 and removing active labels.