| Summary: | Avoid allocating and copy memory from a SharedMemory into a SharedBuffer | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> | ||||||||
| Component: | Page Loading | Assignee: | Jean-Yves Avenard [:jya] <jean-yves.avenard> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | beidson, eric.carlson, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | Other | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=233363 | ||||||||||
| Bug Depends on: | 230329 | ||||||||||
| Bug Blocks: | 233030 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Jean-Yves Avenard [:jya]
2021-11-20 15:19:21 PST
Created attachment 444920 [details]
Patch
Created attachment 444932 [details]
Patch
make ShareableResource use thread-safe refcount. Previously CFAllocatorContext’s would have always called the deallocator on the main thread
Comment on attachment 444932 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=444932&action=review > Source/WebKit/ChangeLog:10 > + SharedMemory::createSharedBuffer instead. Nit: using SharedMemory::createSharedBuffer instead of ...? Created attachment 445643 [details]
Patch
Committed r286408 (244754@main): <https://commits.webkit.org/244754@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 445643 [details]. |