gecko-dev/tools/profiler
Julian Seward 5c0c6834f5 Bug 1456382 - LUL: Convert mAdminThreadId check to MOZ_RELEASE_ASSERT. r=njn.
LUL::mAdminThreadId is used only to assert that certain calls into the LUL
object are made on the correct thread.  Because those assertions are done
using MOZ_ASSERT, some compilers spot that LUL::mAdminThreadId is unused in
non-debug builds, emit a warning to that effect, and then cause the build to
fail due to the presence of -Werror.

Given that (1) it's unlikely that people will use the profiler in debug
builds, (2) failure of these assertions is likely to lead to deadlocking or
crashing in the profiler, and (3) they don't occur on high-frequency paths,
a good solution seems to be to convert them to MOZ_RELEASE_ASSERTs, hence
causing LUL::mAdminThreadId to be used in even in non-debug builds.

In some cases, related MOZ_ASSERTs relating to LUL::mAdminMode have also
been upgraded to MOZ_RELEASE_ASSERTs, for consistency with the
LUL::mAdminThreadId changes.

--HG--
extra : rebase_source : 554a31060a828db01246ece6d1e3afbcc0b42cd2
2018-04-26 19:08:23 +02:00
..
core Bug 1449983 - The Java thread has the wrong JSON format. r=mstange 2018-04-20 10:33:26 +09:00
gecko Bug 1444796 - Part 2. Make nsIProfilerStartParams scriptable. r=mstange 2018-03-14 15:05:50 +09:00
lul Bug 1456382 - LUL: Convert mAdminThreadId check to MOZ_RELEASE_ASSERT. r=njn. 2018-04-26 19:08:23 +02:00
public Bug 1453387: Add network load status reports to gecko-profiler markers r=mstange 2018-04-19 23:32:17 -04:00
tasktracer Bug 1429904 - Add JITFrameInfo. r=njn 2018-02-28 00:13:51 -05:00
tests Backed out 2 changesets (bug 1439014) for failing mochitest chrome and test verify on tools/profiler/tests/chrome/test_profile_with_trackopts.html 2018-03-27 06:48:42 +03:00
moz.build Bug 1437428 - Split ThreadInfo into three classes: ThreadInfo, RegisteredThread and ProfiledThreadData. r=njn 2018-02-16 22:43:51 -05:00