WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
268608
Draws to unused 2D contexts may consume excessive amount of memory on Cocoa
https://bugs.webkit.org/show_bug.cgi?id=268608
Summary
Draws to unused 2D contexts may consume excessive amount of memory on Cocoa
Kimmo Kinnunen
Reported
2024-02-02 00:34:23 PST
Unused canvas draws consume memory Draw canvas A to 2d context B Update canvas A Draw canvas A to 2d context B Update canvas A Draw canvas A to 2d context B Don't use canvas B Cauese each draw to stay in context B queue, as the results are not used. Causes each update to A to migrate the data to COW buffer
Attachments
Add attachment
proposed patch, testcase, etc.
Kimmo Kinnunen
Comment 1
2024-02-02 00:35:03 PST
<
rdar://117708049
>
Kimmo Kinnunen
Comment 2
2024-02-02 01:16:24 PST
Pull request:
https://github.com/WebKit/WebKit/pull/23733
EWS
Comment 3
2024-02-06 11:45:43 PST
Committed
274164@main
(da9744107a30): <
https://commits.webkit.org/274164@main
> Reviewed commits have been landed. Closing PR #23733 and removing active labels.
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