From 0cf86cf18a1c8e7842d761e6e847e44413b19b71 Mon Sep 17 00:00:00 2001 From: Hayodea Hekol Date: Mon, 29 Sep 2025 19:43:28 -0400 Subject: [PATCH] Lockvoker: Gridlock only algo likely if heuristically likely Only run the algorithmically complete scan if the heuristic scan detected it as likely. --- include/serializedAsynchronousContinuation.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/serializedAsynchronousContinuation.h b/include/serializedAsynchronousContinuation.h index b0bcf4b..f163c45 100644 --- a/include/serializedAsynchronousContinuation.h +++ b/include/serializedAsynchronousContinuation.h @@ -142,9 +142,12 @@ public: .heuristicallyTraceContinuationHistoryForGridlockOn( firstFailedQutex); - gridlockIsAlgorithmicallyLikely = tracker - .completelyTraceContinuationHistoryForGridlockOn( - firstFailedQutex); + if (gridlockIsHeuristicallyLikely) + { + gridlockIsAlgorithmicallyLikely = tracker + .completelyTraceContinuationHistoryForGridlockOn( + firstFailedQutex); + } } bool isGridlock = (gridlockIsHeuristicallyLikely