| Summary: | Reimplement JSC::CachePayload without FileSystem::unmapViewOfFile and FileSystem::MappedFileData::leakHandle | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Fujii Hironori <Hironori.Fujii> | ||||||||
| Component: | JavaScriptCore | Assignee: | Fujii Hironori <Hironori.Fujii> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | benjamin, cdumez, chris.reid, cmarcelo, ews-watchlist, keith_miller, mark.lam, msaboff, ross.kirsling, saam, tzagallo, webkit-bug-importer, ysuzuki | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 227011 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Fujii Hironori
2021-06-14 22:47:11 PDT
Created attachment 431405 [details]
Patch
Created attachment 431409 [details]
Patch
Could anyone review? I'll look soon after meeting :) Comment on attachment 431409 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=431409&action=review r=me > Source/JavaScriptCore/runtime/CachePayload.cpp:38 > + return CachePayload(std::make_pair(WTFMove(data), size)); I think we can use `std::pair { ... }` instead of `make_pair`. > Source/JavaScriptCore/runtime/CachePayload.cpp:43 > + return CachePayload(std::make_pair(nullptr, 0)); Ditto. > Source/JavaScriptCore/runtime/CachePayload.cpp:49 > + other.m_data = std::make_pair(nullptr, 0); Ditto. Created attachment 431712 [details]
Patch for landing
Comment on attachment 431712 [details] Patch for landing Clearing flags on attachment: 431712 Committed r279008 (238933@main): <https://commits.webkit.org/238933@main> All reviewed patches have been landed. Closing bug. |