summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-10-01 11:01:01 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-10-01 11:01:01 +0200
commitd718e32b522ebc06f3093df72a3409a3d2fe046e (patch)
tree70638b18e428b216bb6591c6cf4b88701b5850cf
parent7b0f3f2f92a22df1b3d4a4a35bab2a5c637d3cb4 (diff)
downloadUXP-d718e32b522ebc06f3093df72a3409a3d2fe046e.tar
UXP-d718e32b522ebc06f3093df72a3409a3d2fe046e.tar.gz
UXP-d718e32b522ebc06f3093df72a3409a3d2fe046e.tar.lz
UXP-d718e32b522ebc06f3093df72a3409a3d2fe046e.tar.xz
UXP-d718e32b522ebc06f3093df72a3409a3d2fe046e.zip
Remove telemetry from cache v1 service locking (part1).
Tag #21.
-rw-r--r--netwerk/cache/nsCacheService.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/netwerk/cache/nsCacheService.cpp b/netwerk/cache/nsCacheService.cpp
index 97b1a71c8..414887970 100644
--- a/netwerk/cache/nsCacheService.cpp
+++ b/netwerk/cache/nsCacheService.cpp
@@ -2640,17 +2640,8 @@ nsCacheService::Lock()
void
nsCacheService::Lock(mozilla::Telemetry::ID mainThreadLockerID)
{
- mozilla::Telemetry::ID lockerID;
- mozilla::Telemetry::ID generalID;
-
- if (NS_IsMainThread()) {
- lockerID = mainThreadLockerID;
- generalID = mozilla::Telemetry::CACHE_SERVICE_LOCK_WAIT_MAINTHREAD_2;
- } else {
- lockerID = mozilla::Telemetry::HistogramCount;
- generalID = mozilla::Telemetry::CACHE_SERVICE_LOCK_WAIT_2;
- }
-
+ // Telemetry data removed.
+ // XXX: Fold into nsCacheService::Lock()
nsCacheService::Lock();
}