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.
Created attachment 442144 [details] Create leaks with ImageBitmap
*** Bug 232138 has been marked as a duplicate of this bug. ***
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 ***