Bug 237502

Summary: Optimize the passing of data across threads
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, alecflett, beidson, benjamin, changseok, cmarcelo, darin, eric.carlson, esprehn+autocc, ews-watchlist, ggaren, glenn, gyuyoung.kim, hta, japhet, jer.noble, jsbell, kangil.han, mifenton, mkwst, mmaxfield, philipj, sam, sergio, tommyw, toyoshim, webkit-bug-importer, yutak
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=237481
Bug Depends on:    
Bug Blocks: 237568    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch
none
Patch
ews-feeder: commit-queue-
Patch
none
Patch none

Description Chris Dumez 2022-03-05 10:43:54 PST
Optimize de passing of data across threads by optimizing the cases where isolatedCopy() is called on a r-value reference and by calling isolatedCopy() on r-value references whenever possible.
Comment 1 Chris Dumez 2022-03-05 10:56:32 PST
Created attachment 453912 [details]
Patch
Comment 2 Chris Dumez 2022-03-05 11:04:36 PST
Created attachment 453913 [details]
Patch
Comment 3 Chris Dumez 2022-03-05 11:07:27 PST
Created attachment 453914 [details]
Patch
Comment 4 Chris Dumez 2022-03-05 13:29:25 PST
Created attachment 453920 [details]
Patch
Comment 5 Chris Dumez 2022-03-05 16:00:54 PST
Comment on attachment 453920 [details]
Patch

Some failures on EWS debug. I'll investigate.
Comment 6 Chris Dumez 2022-03-05 16:14:20 PST
Created attachment 453922 [details]
Patch
Comment 7 Chris Dumez 2022-03-05 18:21:23 PST
Created attachment 453926 [details]
Patch
Comment 8 Geoffrey Garen 2022-03-07 11:43:29 PST
Comment on attachment 453926 [details]
Patch

r=me
Comment 9 EWS 2022-03-07 12:01:57 PST
Tools/Scripts/svn-apply failed to apply attachment 453926 [details] to trunk.
Please resolve the conflicts and upload a new patch.
Comment 10 Chris Dumez 2022-03-07 12:05:12 PST
Created attachment 454010 [details]
Patch
Comment 11 Chris Dumez 2022-03-07 12:29:29 PST
Comment on attachment 454010 [details]
Patch

Clearing flags on attachment: 454010

Committed r290901 (248132@trunk): <https://commits.webkit.org/248132@trunk>
Comment 12 Chris Dumez 2022-03-07 12:29:34 PST
All reviewed patches have been landed.  Closing bug.
Comment 13 Radar WebKit Bug Importer 2022-03-07 12:30:22 PST
<rdar://problem/89923434>