WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
234622
SharedBuffer::copy() should return a contiguous SharedBuffer
https://bugs.webkit.org/show_bug.cgi?id=234622
Summary
SharedBuffer::copy() should return a contiguous SharedBuffer
Jean-Yves Avenard [:jya]
Reported
2021-12-22 16:14:22 PST
Right now, when copying a SharedBuffer what is return is a FragmentedSharedBuffer; causing an unnecessry memory allocation when making it contiguous again.
Attachments
Patch
(3.27 KB, patch)
2021-12-22 17:01 PST
,
Jean-Yves Avenard [:jya]
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-12-22 16:14:49 PST
<
rdar://problem/86829527
>
Jean-Yves Avenard [:jya]
Comment 2
2021-12-22 17:01:50 PST
Created
attachment 447845
[details]
Patch
EWS
Comment 3
2022-01-01 16:10:27 PST
Committed
r287506
(
245641@main
): <
https://commits.webkit.org/245641@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 447845
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug