From dd777209e477907f1d4f0876ead6e443baefe059 Mon Sep 17 00:00:00 2001 From: vsadov <8218165+VSadov@users.noreply.github.com> Date: Sun, 29 Dec 2024 17:21:05 -0800 Subject: [PATCH] 16 --- src/coreclr/gc/satori/SatoriLock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/gc/satori/SatoriLock.h b/src/coreclr/gc/satori/SatoriLock.h index 31e94a9867e..d997fe9305b 100644 --- a/src/coreclr/gc/satori/SatoriLock.h +++ b/src/coreclr/gc/satori/SatoriLock.h @@ -138,7 +138,7 @@ private: // will do a lot less attempts than an simple retry. On multiprocessor machine fruitless attempts // will cause unnecessary sharing of the contended state which may make modifying the state more expensive. // To protect against degenerate cases we will cap the per-iteration wait to 1024 spinwaits. - static const uint32_t MaxExponentialBackoffBits = 8; + static const uint32_t MaxExponentialBackoffBits = 16; // This lock is unfair and permits acquiring a contended lock by a nonwaiter in the presence of waiters. // It is possible for one thread to keep holding the lock long enough that waiters go to sleep and