gecko-dev/xpcom
Gerald Squelart 02d4f51396 Bug 1609907 - Add AUTO_PROFILER_THREAD_SLEEP around wait_for in DEBUG OffTheBooksCondVar::Wait - r=mstange
In non-DEBUG builds, `OffTheBooksCondVar::Wait` has `AUTO_PROFILER_THREAD_SLEEP`, but it's not in DEBUG builds.
`profiler_thread_sleep` does a `MOZ_ASSERT(mSleep == AWAKE)` in DEBUG builds, so the double call that happens in non-DEBUG wouldn't trigger the assertion!

This patch adds `AUTO_PROFILER_THREAD_SLEEP` in DEBUG `OffTheBooksCondVar::Wait`, to catch more misuses during development.

Depends on D72851

Differential Revision: https://phabricator.services.mozilla.com/D72852
2020-05-01 22:12:56 +00:00
..
base Bug 1628033 - Add pid to the main process in about:memory. r=erahm 2020-04-30 21:20:23 +00:00
build Bug 1630655 - Squash TSAN data race report in IOInterposer r=aklotz 2020-04-30 17:17:21 +00:00
components Bug 1239694 Implemenet Gnome search provider, r=jhorak,mak 2020-04-29 18:02:23 +00:00
doc
ds Bug 1634218 - Remove the zoom actors. r=nika 2020-04-30 16:35:35 +00:00
glue Bug 1568994 - Add Update URL template to application.ini, XREAppData, and Services.appinfo r=glandium 2020-03-26 00:57:13 +00:00
idl-parser Backed out 6 changesets (bug 1632916, bug 1599658, bug 1633037, bug 1633039, bug 1633016, bug 1632920) for SA bustages CLOSED TREE 2020-05-02 01:49:29 +03:00
io Bug 1625749 - Make sure SlicedInputStream initializes all its members. r=nika 2020-04-14 18:04:13 +00:00
libxpt/xptcall
reflect Backed out 6 changesets (bug 1632916, bug 1599658, bug 1633037, bug 1633039, bug 1633016, bug 1632920) for SA bustages CLOSED TREE 2020-05-02 01:49:29 +03:00
rust Bug 1626587 - Part 4: Remove mozilla::IsPod for HashMapEntry. r=jwalden 2020-04-27 12:00:48 +00:00
string Bug 1634023 - Add deduction guides for Span. r=hsivonen 2020-04-29 16:04:56 +00:00
system Bug 1621116: Make the version and build ID of the previous instance of Firefox to use the current profile available. r=froydnj,glandium 2020-04-07 08:23:32 +00:00
tests Bug 1628692 - Make FallibleTArray uncopyable. r=xpcom-reviewers,nika 2020-04-29 08:42:52 +00:00
threads Bug 1609907 - Add AUTO_PROFILER_THREAD_SLEEP around wait_for in DEBUG OffTheBooksCondVar::Wait - r=mstange 2020-05-01 22:12:56 +00:00
windbgdlg
xpidl
moz.build
xpcom-config.h.in
xpcom-private.h.in