[Mono-bugs] [Bug 82365][Maj] Changed - WebClient Performance loss from 1.x to 2.x

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Aug 8 22:12:19 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by miguel at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=82365

--- shadow/82365	2007-08-08 01:57:11.000000000 -0400
+++ shadow/82365.tmp.26702	2007-08-08 22:12:19.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 82365
 Product: Mono: Class Libraries
 Version: 1.0
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Major
 Component: System
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: miguel at ximian.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -60,6 +60,83 @@
     640 LEAVE: (wrapper managed-to-native)
 System.Threading.Monitor:Monitor_exit (object)
     769 LEAVE: System.Threading.Monitor:Enter (object)
     776 LEAVE: System.Threading.Monitor:Exit (object)
 
 We might be too trigger happy with the locks in 2.x
+
+------- Additional Comments From miguel at ximian.com  2007-08-08 22:12 -------
+Actually, the above slants things in the wrong way, because of the
+nesting level, here is what happens after removing the nesting level:
+
+mcs:
+    227  (wrapper managed-to-native)
+System.Threading.NativeEventCalls:SetEvent_internal (intptr)TRUE:1
+    228 )
+    228  System.Net.WebConnectionStream:ReadCallbackWrapper
+(System.IAsyncResult)
+    230  System.Collections.Queue:get_Count
+()(this:0x52ca0[System.Collections.Queue mcs-webclient.exe], )
+    230  System.Threading.Monitor:Enter
+(object)([System.Collections.Queue:0x52ca0], )
+    232  (wrapper managed-to-native)
+System.Threading.Monitor:Monitor_exit (object)([System.Object:0x30ea0], )
+    233  System.Threading.WaitHandle:get_Handle ()result=1038
+    239  (wrapper managed-to-native)
+System.Object:__icall_wrapper_mono_ldftn (intptr)(0x8328cac, )
+    245  System.Net.Sockets.NetworkStream:CheckDisposed
+()(this:0x87fa8[System.Net.Sockets.NetworkStream mcs-webclient.exe], )
+    247  (wrapper managed-to-native)
+System.Object:__icall_wrapper_mono_object_new_fast (intptr)(0x83261c8, )
+    248  (wrapper managed-to-native)
+System.Object:__icall_wrapper_mono_ldftn (intptr)result=-1224065736
+    256  System.Net.Sockets.NetworkStream:CheckDisposed ()
+    312  System.Net.WebAsyncResult:get_IsCompleted ()FALSE
+    386  (wrapper managed-to-native)
+System.Object:__icall_wrapper_mono_delegate_ctor (object,object,intptr)
+    460
+    476  System.Threading.WaitHandle:CheckDisposed ()
+   1230  (wrapper managed-to-native)
+System.Threading.Monitor:Monitor_try_enter (object,int)TRUE:1
+   1305  (wrapper managed-to-native)
+System.Threading.Monitor:Monitor_exit (object)
+   1310  System.Threading.Monitor:Exit (object)
+   1349  System.Threading.Monitor:Enter (object)
+
+gmcs:
+    247  (wrapper managed-to-native)
+System.Object:__icall_wrapper_mono_ldftn (intptr)(0x83fcedc, )
+    247  (wrapper managed-to-native)
+System.Object:__icall_wrapper_mono_object_new_fast (intptr)(0x8408cc8, )
+    248  System.Threading.Monitor:Exit (object)([System.Object:0x30b70], )
+    248  (wrapper managed-to-native)
+System.Threading.Monitor:Monitor_exit (object)([System.Object:0x30b70], )
+    250  (wrapper managed-to-native)
+System.Object:__icall_wrapper_mono_ldftn (intptr)result=-1225849520
+    252  (wrapper managed-to-native)
+System.Threading.Interlocked:CompareExchange (int&,int,int)result=1
+    255  System.Threading.Monitor:Exit
+(object)([System.Collections.Queue:0x5eb60], )
+    256  (wrapper managed-to-native)
+System.Threading.Monitor:Monitor_exit
+(object)([System.Collections.Queue:0x5eb60], )
+    257  (wrapper managed-to-native)
+System.Threading.Monitor:Monitor_try_enter
+(object,int)([System.Collections.Queue:0x5eb60], -1, )
+    258  System.Collections.Queue:get_Count
+()(this:0x5eb60[System.Collections.Queue gmcs-webclient.exe], )
+    258  System.Threading.Monitor:Enter
+(object)([System.Collections.Queue:0x5eb60], )
+    259  System.Net.Sockets.NetworkStream:CheckDisposed ()
+    259  System.Net.Sockets.NetworkStream:CheckDisposed
+()(this:0xa7390[System.Net.Sockets.NetworkStream gmcs-webclient.exe], )
+    376  System.Net.WebAsyncResult:get_IsCompleted ()FALSE
+    390  (wrapper managed-to-native)
+System.Object:__icall_wrapper_mono_delegate_ctor (object,object,intptr)
+    488  System.Threading.WaitHandle:CheckDisposed ()
+   1394  System.Threading.Monitor:Exit (object)
+   1396  (wrapper managed-to-native)
+System.Threading.Monitor:Monitor_exit (object)
+   1401  System.Threading.Monitor:Enter (object)
+   1401  (wrapper managed-to-native)
+System.Threading.Monitor:Monitor_try_enter (object,int)TRUE:1
+


More information about the mono-bugs mailing list