summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorRunitaiLinden <davep@lindenlab.com>2023-05-03 17:30:02 -0500
committerRunitaiLinden <davep@lindenlab.com>2023-05-03 17:30:02 -0500
commit1cadfd44fe5ddafaf3ba3560bd8ec8e1351b347d (patch)
tree8c75a8f75bc8ab17f34bc9c94a644976d88c06f8 /indra/llcommon
parente09475713b7abe6fcb916f4a770081a1696b57ab (diff)
DRTVWR-559 WIP - optimize ARC calculation et al.
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llmutex.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llcommon/llmutex.h b/indra/llcommon/llmutex.h
index 838d7d34c0..0d70da6178 100644
--- a/indra/llcommon/llmutex.h
+++ b/indra/llcommon/llmutex.h
@@ -36,7 +36,8 @@
//============================================================================
-#define MUTEX_DEBUG (LL_DEBUG || LL_RELEASE_WITH_DEBUG_INFO)
+//#define MUTEX_DEBUG (LL_DEBUG || LL_RELEASE_WITH_DEBUG_INFO)
+#define MUTEX_DEBUG 0 //disable mutex debugging as it's interfering with profiles
#if MUTEX_DEBUG
#include <map>
@@ -61,7 +62,7 @@ protected:
mutable LLThread::id_t mLockingThread;
#if MUTEX_DEBUG
- std::map<LLThread::id_t, BOOL> mIsLocked;
+ std::unordered_map<LLThread::id_t, BOOL> mIsLocked;
#endif
};