LCOV - code coverage report
Current view:
top level
-
src/backend/storage/lmgr
- lock.c
(
source
/ functions)
Coverage
Total
Hit
Test:
PostgreSQL 20devel
Lines:
87.9 %
1276
1122
Test Date:
2026-11-15 17:16:10
Functions:
96.8 %
62
60
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
65.2 %
912
595
Function Name
Hit count
AbortStrongLockAcquire
715253
AtPrepare_Locks
329
BeginStrongLockAcquire
250126
CheckAndSetLockHeld
50195568
CheckForSessionAndXactLocks
329
CleanUpLock
3001008
DoLockModesConflict
39042
FastPathGetRelationLockEntry
346
FastPathGrantRelationLock
21699779
FastPathTransferRelationLocks
250126
FastPathUnGrantRelationLock
21808781
FinishStrongLockAcquire
3048174
GetAnyGrantedHeavyweightLock
44
GetAwaitedLock
714535
GetBlockerStatusData
1874
GetLockConflicts
1849
GetLockStatusData
342
GetLockTagsMethodTable
1296
GetLockmodeName
12144
GetLocksMethodTable
130
GetRunningTransactionLocks
1616
GetSingleProcBlockerStatusData
2014
GrantAwaitedLock
2
GrantLock
3050490
GrantLockLocal
28744985
InitLockManagerAccess
26770
LockAcquire
1233947
LockAcquireExtended
28745762
LockCheckConflicts
3050461
LockHasWaiters
0
LockHeldByMe
1988772
LockManagerShmemInit
1345
LockManagerShmemRequest
1349
LockReassignCurrentOwner
466317
LockReassignOwner
814035
LockRefindAndRelease
2800
LockRelease
24340927
LockReleaseAll
1363829
LockReleaseCurrentOwner
6655
LockReleaseSession
122
LockTagHashCode
25610508
LockWaiterCount
96410
MarkLockClear
23742613
PostPrepare_Locks
327
ProcLockHashCode
5826300
ReleaseLockIfHeld
5650
RemoveFromWaitQueue
51
RemoveLocalLock
24748732
ResetAwaitedLock
47
SetupLockInTable
3051166
UnGrantLock
3050395
VirtualXactLock
360
VirtualXactLockTableCleanup
671411
VirtualXactLockTableInsert
670749
WaitOnLock
1524
XactLockForVirtualXact
318
lock_twophase_postabort
196
lock_twophase_postcommit
937
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
850
waitonlock_error_callback
241
Generated by:
LCOV version 2.0-1