gecko-dev/ipc
Kelsey Gilbert 7671a9d5a4 Bug 1801021 - Use BigBuffer for DispatchCommands. r=gfx-reviewers,lsalzman
Using ipc::Shmem causes unbounded shmem use growth until e.g. a Worker
yields to the event loop. If a Worker never yields, Shmems sent to WebGLParent
are never released.

Specifically the manager (PCanvasManager) for WebGLParent calls
DestroySharedMemory, which sends/enqueues for WebGLChild's manager a
matching call to ShmemDestroyed. However, while WebGLChild refuses to spin its
event loop (such as a no-return WASM Worker), the ShmemDestroyed events
will just pile up. Closing e.g. the tab frees the shmems, but they accumulate
unbounded until the Worker yields to the event loop.

This is true for other users of ipc::Shmem (or RaiiShmem) as well, but
entrypoints other than DispatchCommands are rarer and can be handled
later similarly.

Differential Revision: https://phabricator.services.mozilla.com/D162946
2022-11-25 22:20:38 +00:00
..
app Bug 1760668 - part 1: add ability to blocklist DLLs in socket process. r=gerard-majax 2022-11-04 18:12:59 +00:00
chromium Bug 1794282 - Part 2: Reduce locking contention in IPC::Channel, r=ipc-reviewers,mccr8 2022-11-14 18:48:49 +00:00
contentproc
docs Bug 1795322 - Update toolkit modules references in remaining places. r=mossop,zeid,geckoview-reviewers,calu 2022-10-26 08:06:37 +00:00
glue Bug 1801021 - Use BigBuffer for DispatchCommands. r=gfx-reviewers,lsalzman 2022-11-25 22:20:38 +00:00
gtest Bug 1795311 - A new shared memory class with more flexible memory management. r=nika,jld 2022-11-10 15:52:31 +00:00
ipdl Bug 1790816 - Reformat ipc/ with isort. r=mccr8 DONTBUILD 2022-11-22 11:07:46 +00:00
mscom Bug 1797354 - Allow specifying capability type in thread-safety macros, r=jesup,media-playback-reviewers,alwu 2022-10-28 19:55:30 +00:00
testshell Bug 1772733 - Change directory in xpcshell without OS.File r=jmaher,nika 2022-11-21 23:49:39 +00:00
moz.build Bug 1696382: Add IPC in-tree docs r=nika,gerard-majax,ipc-reviewers 2022-01-13 00:10:20 +00:00
pull-chromium.py Bug 1790816 - Reformat ipc/ with isort. r=mccr8 DONTBUILD 2022-11-22 11:07:46 +00:00