diff options
author | Filip Navara <filip.navara@gmail.com> | 2019-01-24 13:34:09 +0100 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2019-01-24 04:34:09 -0800 |
commit | 0a43d9c795c1903e3d31b7228e7785554e89b59f (patch) | |
tree | b1a7a61b23d0d91cd0ad96cc7a77a4cdd8ae830b /src/vm/crst.h | |
parent | b64035991c352f7f5a8350c361170ec1b0f97f60 (diff) | |
download | coreclr-0a43d9c795c1903e3d31b7228e7785554e89b59f.tar.gz coreclr-0a43d9c795c1903e3d31b7228e7785554e89b59f.tar.bz2 coreclr-0a43d9c795c1903e3d31b7228e7785554e89b59f.zip |
Remove no-op holder stack validation. (#22182)
Diffstat (limited to 'src/vm/crst.h')
-rw-r--r-- | src/vm/crst.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/crst.h b/src/vm/crst.h index d2e70754ec..5289dfa9f4 100644 --- a/src/vm/crst.h +++ b/src/vm/crst.h @@ -397,13 +397,13 @@ private: // Note that the holders for CRSTs are used in extremely low stack conditions. Because of this, they // aren't allowed to use more than HOLDER_CODE_MINIMUM_STACK_LIMIT pages of stack. - typedef DacHolder<CrstBase *, CrstBase::AcquireLock, CrstBase::ReleaseLock, 0, CompareDefault, HSV_ValidateMinimumStackReq> CrstHolderWithState; + typedef DacHolder<CrstBase *, CrstBase::AcquireLock, CrstBase::ReleaseLock, 0, CompareDefault> CrstHolderWithState; // We have some situations where we're already holding a lock, and we need to release and reacquire the lock across a window. // This is a dangerous construct because the backout code can block. // Generally, it's better to use a regular CrstHolder, and then use the Release() / Acquire() methods on it. // This just exists to convert legacy OS Critical Section patterns over to holders. - typedef DacHolder<CrstBase *, CrstBase::ReleaseLock, CrstBase::AcquireLock, 0, CompareDefault, HSV_ValidateMinimumStackReq> UnsafeCrstInverseHolder; + typedef DacHolder<CrstBase *, CrstBase::ReleaseLock, CrstBase::AcquireLock, 0, CompareDefault> UnsafeCrstInverseHolder; }; typedef CrstBase::CrstHolder CrstHolder; |