gecko-dev/ipc/chromium
Kris Maglione 74481e8af4 Bug 1479035: Part 1 - Don't create event queues for stub nsThread wrappers. r=froydnj
Most of the times when we automatically create nsThread wrappers for threads
that don't already have them, we don't actually need the event targets, since
those threads don't run XPCOM event loops. Aside from wasting memory, actually
creating these event loops can lead to leaks if a thread tries to dispatch a
runnable to the queue which creates a reference cycle with the thread.

Not creating the event queues for threads that don't actually need them helps
avoid those foot guns, and also makes it easier to figure out which treads
actually run XPCOM event loops.

MozReview-Commit-ID: Arck4VQqdne

--HG--
extra : source : a03a61d6d724503c3b7c5e31fe32ced1f5d1c219
extra : intermediate-source : 5152af6ab3e399216ef6db8f060c257b2ffbd330
extra : histedit_source : ef06000344416e0919f536d5720fa979d2d29c66%2C4671676b613dc3e3ec762edf5d72a2ffbe6fca3f
2018-07-27 15:13:12 -07:00
..
atomics Bug 1477048 - part 3 - remove ipc/chromium uses of OS_TEST; r=gps 2018-07-24 16:08:56 -04:00
src Bug 1479035: Part 1 - Don't create event queues for stub nsThread wrappers. r=froydnj 2018-07-27 15:13:12 -07:00
chromium-config.mozbuild Bug 1451859 - Part 2: Add sanitizer coverage to a handful of places relevant to IPC. r=posidron 2018-04-05 15:48:11 -04:00
moz.build Bug 1400051 - IPC: use process_util_linux on BSD and remove process_util_bsd. r=glandium 2018-09-20 19:53:31 -06:00