Microsoft KB Archive/838965

= FIX: You may experience performance issues if your application uses reflection with the SharedSecurityDescriptor object critical section in the .NET Framework 1.0 =

Article ID: 838965

Article Last Modified on 6/1/2006

-

APPLIES TO


 * Microsoft .NET Framework 1.0

-





SYMPTOMS
Some applications that use the Microsoft .NET Framework version 1.0 may not have the expected throughput if the applications use reflection. Reflection uses locks internally to synchronize access to critical objects. It uses a critical section to access a SharedSecurityDescriptor object. This behavior causes high lock contention.



CAUSE
This problem occurs if one lock experiences high lock contention. High lock contention occurs when multiple processes try to use on object at the same time.

Although most of the processes want only read access to the object, no distinction is made between read operations and write operations. Therefore, most of the processes must wait until the current owner releases its reference to the object's lock.



RESOLUTION
This software update changes the locking mechanism from an exclusive lock to a Reader/Writer lock. This change improves performance in the Reflection library.

Software update information
A supported software update is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This software update may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next .NET Framework 1.0 service pack that contains this software update.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the software update. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;[LN;CNTACTMS]

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites
No prerequisites are required to install this software update.

Restart requirement
You must restart your computer after you apply this software update.

Software update replacement information
This software update does not replace any other software updates.

File information
The English version of this software update has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version       Size       File name -  24-Mar-2004  09:33  1.0.3705.493    200,704  Aspnet.isapi.dll 24-Mar-2004 09:33  1.0.3705.493     24,576  Aspnet.regiis.exe 24-Mar-2004 09:33  1.0.3705.493     28,672  Aspnet.wp.exe 24-Mar-2004 08:53  1.0.3705.493     69,632  Corperfmonext.dll 29-Apr-2003 20:59                   16,597  Installpersistsqlstate.sql 29-Apr-2003 21:00                   17,331  Installsqlstate.sql 12-Aug-2003 15:48                   17,807  Installsqlstatetemplate.sql 24-Mar-2004 08:51  1.0.3705.493    299,008  Mscorjit.dll 25-Mar-2004 22:30  1.0.3705.493  1,953,792  Mscorlib.dll 24-Mar-2004 08:53  1.0.3705.493  2,199,552  Mscorsvr.dll 24-Mar-2004 08:52  1.0.3705.493  2,265,088  Mscorwks.dll 24-Mar-2004 09:30  1.0.3705.493     20,480  Perfcounter.dll 25-Mar-2004 22:29  1.0.3705.493  1,179,648  System.data.dll 25-Mar-2004 22:29  1.0.3705.493  1,695,744  System.design.dll 25-Mar-2004 22:29  1.0.3705.493  1,175,552  System.dll 25-Mar-2004 22:29  1.0.3705.493    241,664  System.messaging.dll 25-Mar-2004 22:29  1.0.3705.493    311,296  System.runtime.remoting.dll 25-Mar-2004 22:29  1.0.3705.493    131,072  System.runtime.serialization.formatters.soap.dll 25-Mar-2004 22:30  1.0.3705.493  1,200,128  System.web.dll 25-Mar-2004 22:29  1.0.3705.493    507,904  System.web.services.dll 25-Mar-2004 22:29  1.0.3705.493  1,994,752  System.windows.forms.dll 25-Mar-2004 22:29  1.0.3705.493  1,302,528  System.xml.dll 08-Jan-2002 17:13                    1,419  Uninstallpersistsqlstate.sql 12-Aug-2003 15:48                    2,119  Uninstallsqlstatetemplate.sql



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was corrected in the Microsoft .NET Framework version 1.1.



MORE INFORMATION
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbbug kbfix kbnetframe100presp3fix kbhotfixserver kbqfe KB838965

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.