Lockvoker: Gridlock only algo likely if heuristically likely

Only run the algorithmically complete scan if the heuristic
scan detected it as likely.
This commit is contained in:
2025-09-29 19:43:28 -04:00
parent 5c7a92b3a4
commit 0cf86cf18a
@@ -142,10 +142,13 @@ public:
.heuristicallyTraceContinuationHistoryForGridlockOn( .heuristicallyTraceContinuationHistoryForGridlockOn(
firstFailedQutex); firstFailedQutex);
if (gridlockIsHeuristicallyLikely)
{
gridlockIsAlgorithmicallyLikely = tracker gridlockIsAlgorithmicallyLikely = tracker
.completelyTraceContinuationHistoryForGridlockOn( .completelyTraceContinuationHistoryForGridlockOn(
firstFailedQutex); firstFailedQutex);
} }
}
bool isGridlock = (gridlockIsHeuristicallyLikely bool isGridlock = (gridlockIsHeuristicallyLikely
|| gridlockIsAlgorithmicallyLikely); || gridlockIsAlgorithmicallyLikely);