RESOLVED DUPLICATE of bug 232113 Bug 232139
RemoteDisplayListRecorder RemoteImageBuffer refcount cycle causes GPUP memory leak
https://bugs.webkit.org/show_bug.cgi?id=232139
Summary RemoteDisplayListRecorder RemoteImageBuffer refcount cycle causes GPUP memory...
Kimmo Kinnunen
Reported 2021-10-22 03:23:33 PDT
RemoteDisplayListRecorder RemoteImageBuffer refcount cycle causes GPUP memory leak Contributing factors: RemoteDisplayListRecorder refs RemoteImageBuffer refs RemoteDisplayListRecorder RemoteDisplayListRecorderProxy does not send destruction notification GPUP side does not remove the RemoteDisplayListRecorder ever. Note: Due to bug 187964 the test case is hard to repro. After testcase runs, open inspector to run gc.
Attachments
Create leaks with ImageBitmap (18.64 KB, application/zip)
2021-10-22 03:24 PDT, Kimmo Kinnunen
no flags
Kimmo Kinnunen
Comment 1 2021-10-22 03:24:05 PDT
Created attachment 442144 [details] Create leaks with ImageBitmap
Kimmo Kinnunen
Comment 2 2021-10-22 03:45:06 PDT
*** Bug 232138 has been marked as a duplicate of this bug. ***
Wenson Hsieh
Comment 3 2021-10-22 10:52:42 PDT
Good catch. RemoteImageBuffer owns its RemoteDisplayListRecorder, so RemoteDisplayListRecorder should have a weak back-pointer to its RemoteImageBuffer. I plan to fix this along with https://bugs.webkit.org/show_bug.cgi?id=232113. *** This bug has been marked as a duplicate of bug 232113 ***
Note You need to log in before you can comment on or make changes to this bug.