QtxAcqHistTracker: implement heuristic gridlock detector

This commit is contained in:
2025-09-29 20:02:23 -04:00
parent d32cb1ddac
commit 2390042892
3 changed files with 39 additions and 4 deletions
+5 -2
View File
@@ -134,13 +134,16 @@ public:
.getAcquiredQutexHistory();
// Add this continuation to the tracker
auto currentContinuationShPtr = serializedContinuation
.shared_from_this();
tracker.addIfNotExists(
serializedContinuation.shared_from_this(),
currentContinuationShPtr,
firstFailedQutex, std::move(heldLocks));
gridlockIsHeuristicallyLikely = tracker
.heuristicallyTraceContinuationHistoryForGridlockOn(
firstFailedQutex);
firstFailedQutex, currentContinuationShPtr);
if (gridlockIsHeuristicallyLikely)
{