| Summary: | Introduce a shared IDB serialization thread | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Sihui Liu <sihui_liu> | ||||||||||||
| Component: | WebCore Misc. | Assignee: | Sihui Liu <sihui_liu> | ||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||
| Severity: | Normal | CC: | alecflett, beidson, cdumez, ews-watchlist, ggaren, jsbell, mark.lam, webkit-bug-importer, ysuzuki | ||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||
| Version: | WebKit Nightly Build | ||||||||||||||
| Hardware: | Unspecified | ||||||||||||||
| OS: | Unspecified | ||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Sihui Liu
2021-05-25 11:56:18 PDT
Created attachment 429677 [details]
Patch
Created attachment 429697 [details]
Patch
Created attachment 429701 [details]
Patch
Created attachment 429705 [details]
Patch
Comment on attachment 429705 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=429705&action=review We may want to add threading assertions to the serialization / deserialization functions to make sure they are called on the expected thread? > Source/WebCore/Modules/indexeddb/server/IDBSerialization.cpp:428 > + IDBSerializationContext() Please make constructor private and add a create() factory function, like we do for all RefCounted classes. Or maybe even better, don't subclass RefCounted and use a stack object? It is unclear why this is RefCounted based on how it is used currently. Created attachment 430442 [details]
Patch for landing
Committed r278393 (238418@main): <https://commits.webkit.org/238418@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 430442 [details]. |