-
Notifications
You must be signed in to change notification settings - Fork 415
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
corechecks: Add setting to enable fine-grained locking
Add a setting to make calls to ValidationObject::ReadLock() and WriteLock() be no-ops, because locking in other parts of the code has made these global locks unnecessary. Currently this only affects Core Validation, but eventually it should also change the behavior of Best Practices and Synchronization Validation. The setting defaults to off for now and there is logging when fine grained locking is enabled, since this is an experimental feature which make cause stability problems or incorrect errors to be reported. Once this stabilizes, the setting will default to on and the log message will report when it is turned off, because that will be slow.
- Loading branch information
1 parent
d23bc29
commit 8de2f06
Showing
6 changed files
with
76 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters