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-12-01 03:16:02
Functions:
96.8 %
62
60
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
65.0 %
912
593
Function Name
Hit count
AbortStrongLockAcquire
708686
AtPrepare_Locks
333
BeginStrongLockAcquire
251744
CheckAndSetLockHeld
50357948
CheckForSessionAndXactLocks
333
CleanUpLock
3017212
DoLockModesConflict
39046
FastPathGetRelationLockEntry
363
FastPathGrantRelationLock
21766843
FastPathTransferRelationLocks
251744
FastPathUnGrantRelationLock
21888627
FinishStrongLockAcquire
3064023
GetAnyGrantedHeavyweightLock
44
GetAwaitedLock
707976
GetBlockerStatusData
1824
GetLockConflicts
1801
GetLockStatusData
357
GetLockTagsMethodTable
1303
GetLockmodeName
11265
GetLocksMethodTable
108
GetRunningTransactionLocks
1638
GetSingleProcBlockerStatusData
1954
GrantAwaitedLock
1
GrantLock
3066365
GrantLockLocal
28836408
InitLockManagerAccess
26914
LockAcquire
1232197
LockAcquireExtended
28837174
LockCheckConflicts
3066316
LockHasWaiters
0
LockHeldByMe
2003063
LockManagerShmemInit
1359
LockManagerShmemRequest
1363
LockReassignCurrentOwner
470244
LockReassignOwner
817785
LockRefindAndRelease
2821
LockRelease
24424280
LockReleaseAll
1350163
LockReleaseCurrentOwner
6671
LockReleaseSession
122
LockTagHashCode
25699166
LockWaiterCount
98986
MarkLockClear
23822625
PostPrepare_Locks
331
ProcLockHashCode
5855222
ReleaseLockIfHeld
5661
RemoveFromWaitQueue
49
RemoveLocalLock
24831633
ResetAwaitedLock
45
SetupLockInTable
3067031
UnGrantLock
3066284
VirtualXactLock
375
VirtualXactLockTableCleanup
664540
VirtualXactLockTableInsert
663829
WaitOnLock
1550
XactLockForVirtualXact
333
lock_twophase_postabort
194
lock_twophase_postcommit
950
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
856
waitonlock_error_callback
226
Generated by:
LCOV version 2.0-1