gecko-dev/mozglue/misc
David Major af0b39fef9 Bug 1372375: Avoid locks in EnsureWalkThreadReady during the profiler's critical section. r=mstange
EnsureWalkThreadReady takes two locks, one in _beginthreadex and another in the DLL hook setup.

We can avoid the first by not calling EnsureWalkThreadReady if we're walking a suspended thread, since we won't be using a separate WalkThread anyway.

To avoid the hook locks, I gave in and decided to go back to setting up the hooks in DllBlocklist_Initialize as originally planned.
2017-06-13 18:30:48 -04:00
..
AutoProfilerLabel.cpp Bug 1370329 (part 2) - Add support for profiler labels in mozglue. r=mstange,glandium. 2017-06-07 12:36:26 +10:00
AutoProfilerLabel.h Bug 1370329 (part 2) - Add support for profiler labels in mozglue. r=mstange,glandium. 2017-06-07 12:36:26 +10:00
ConditionVariable_posix.cpp Bug 1312086 - part 3 - move js::{Mutex,ConditionVariable}Impl to mozglue; r=fitzgen,glandium 2017-02-08 20:52:55 -05:00
ConditionVariable_windows.cpp Bug 1364624 - Switch from CRITICALSECTION to SRWLOCK. r=froydnj 2017-05-17 15:44:20 -07:00
MutexPlatformData_posix.h Bug 1312086 - part 3 - move js::{Mutex,ConditionVariable}Impl to mozglue; r=fitzgen,glandium 2017-02-08 20:52:55 -05:00
MutexPlatformData_windows.h Bug 1364624 - Switch from CRITICALSECTION to SRWLOCK. r=froydnj 2017-05-17 15:44:20 -07:00
Mutex_posix.cpp Backout e824f50f5ca6 (bug 1353787) for massive OS X test bustage on a CLOSED TREE 2017-04-07 16:35:45 -04:00
Mutex_windows.cpp Bug 1364624 - Switch from CRITICALSECTION to SRWLOCK. r=froydnj 2017-05-17 15:44:20 -07:00
PlatformConditionVariable.h Bug 1312086 - part 3 - move js::{Mutex,ConditionVariable}Impl to mozglue; r=fitzgen,glandium 2017-02-08 20:52:55 -05:00
PlatformMutex.h Bug 1336344 - use sizeof(pthread_mutex_t) to size MutexImpl's platformData_; r=fitzgen 2017-02-22 16:41:35 -05:00
Printf.cpp Bug 1334276 - add Printf unit tests; r=froydnj 2017-05-08 13:49:48 -06:00
Printf.h Bug 1334279 - mark vsprintf-likes with MOZ_FORMAT_PRINTF; r=froydnj 2017-05-04 12:10:19 -06:00
StackWalk.cpp Bug 1372375: Avoid locks in EnsureWalkThreadReady during the profiler's critical section. r=mstange 2017-06-13 18:30:48 -04:00
StackWalk.h Bug 1322735 - Remove MOZ_STACKWALKING define. r=glandium 2016-12-20 15:11:36 -08:00
StackWalk_windows.h Bug 1359507: Replace the stack walk workaround lock with an atomic counter of suppressions. r=mstange,froydnj 2017-05-03 12:10:48 -04:00
TimeStamp.cpp Bug 1358320 - Make TimeStamp::ProcessCreation()'s outparam optional. r=gsvelto. 2017-04-26 14:55:54 +10:00
TimeStamp.h Bug 1358320 - Make TimeStamp::ProcessCreation()'s outparam optional. r=gsvelto. 2017-04-26 14:55:54 +10:00
TimeStamp_darwin.cpp
TimeStamp_posix.cpp Bug 1338086 - Remove useless else blocks in order to reduce complexity in mozglue/misc/ r=froydnj 2017-02-09 10:55:26 +01:00
TimeStamp_windows.cpp No bug - fix variable spelling. DONTBUILD 2017-05-04 14:29:55 -04:00
TimeStamp_windows.h Bug 1322465 part 9 - Use explicit/MOZ_IMPLICIT for the unary constructors in mozglue/. r=Ehsan 2016-12-16 15:57:53 +08:00
moz.build Bug 1370329 (part 2) - Add support for profiler labels in mozglue. r=mstange,glandium. 2017-06-07 12:36:26 +10:00