Side Effects of Using the Checked Build

Note

Checked builds were available on older versions of Windows, before Windows 10 version 1803. Use tools such as Driver Verifier and GFlags to check driver code in later versions of Windows.

The checked components of the operating system contain fewer optimizations and more debugging checks than otherwise identical free components. Therefore, checked components run substantially slower than free counterparts.

It is important for driver writers to remember that this slower execution can cause changes in the timing relationships among code paths. Therefore, the checked build can hide timing problems (such as race conditions or deadlocks) that might be revealed in the free build. Thus, you must test all of your drivers on both the free build and the checked build of the operating system before release.