gecko-dev/tools/profiler
Gerald Squelart 2258868d1b Bug 1755823 - Lock the ThreadRegistry non-exclusively when only reading the thread list, exclusively when adding/removing threads - r=canaltinova
This allows multiple threads to access ThreadRegistrations through the thread registry, as long as the registry itself is not modified. So in particular, ThreadRegistrations are guaranteed to stay alive as long as a non-exclusive lock is held.
This ensures cross-thread markers are not blocked while the sampler is running.

Differential Revision: https://phabricator.services.mozilla.com/D139917
2022-03-04 06:48:11 +00:00
..
core Bug 1755823 - Lock the ThreadRegistry non-exclusively when only reading the thread list, exclusively when adding/removing threads - r=canaltinova 2022-03-04 06:48:11 +00:00
docs Bug 1728539 - Add a documentation about profiler Rust API r=gerald 2021-10-06 07:58:49 +00:00
gecko Bug 1668867 - nsProfiler::WaitOnePeriodicSampling also waits for children to run their sampling loop - r=canaltinova 2022-03-01 06:56:03 +00:00
lul Bug 1721569 - Handle different sizes of Profiler{Process,Thread}Id - r=florian 2021-08-11 03:27:50 +00:00
public Bug 1755823 - Lock the ThreadRegistry non-exclusively when only reading the thread list, exclusively when adding/removing threads - r=canaltinova 2022-03-04 06:48:11 +00:00
rust-api Bug 1753402 - Disable untagged union in Gecko profiler bindings. r=canaltinova 2022-02-04 13:53:28 +00:00
rust-helper Bug 1710097 - Use the memmap2 crate in place of the unmaintained memmap crate r=mstange 2021-09-10 19:46:14 +00:00
tests Bug 1755823 - Lock the ThreadRegistry non-exclusively when only reading the thread list, exclusively when adding/removing threads - r=canaltinova 2022-03-04 06:48:11 +00:00
moz.build Bug 1668867 - Move parts of GeckoProfiler.h into ProfilerControl.h - r=canaltinova 2022-03-01 06:56:00 +00:00