为什么MonitorHeld列的!syncblk结果显示所有行的全0

时间:2012-02-20 03:30:50

标签: com locking windbg sos

我编写了一个使用COM组件的控制台应用程序。当我尝试使用SOS.dll的!syncblk确定一些性能问题时,我得到的结果显示完全没有syncblk。

Index SyncBlock MonitorHeld Recursion Owning Thread Info  SyncBlock Owner
    1 00000000            0         0 00000000     none           0 Free
    2 0019e1c0            0         0 00000000     none    00bb1644     System.Diagnostics.Eventing.EventProvider+ClassicEtw+ControlCallback
    3 00000000            0         0 00000000     none           0 Free
    4 00000000            0         0 00000000     none           0 Free
    5 00000000            0         0 00000000     none           0 Free
    6 00000000            0         0 00000000     none           0 Free
    7 00000000            0         0 00000000     none           0 Free
    8 00000000            0         0 00000000     none           0 Free
    9 00000000            0         0 00000000     none           0 Free
   10 00000000            0         0 00000000     none           0 Free
   11 0019e394            0         0 00000000     none    00d2f2fc Bid+CtrlCB
   12 0019e3c8            0         0 00000000     none    00c38b7c System.__ComObject
   13 0019e3fc            0         0 00000000     none    00c38bbc System.__ComObject
   14 00000000            0         0 00000000     none           0 Free
 .........
11303 460e30a4            0         0 00000000     none    5d42530c System.__ComObject
11304 460e3070            0         0 00000000     none    5d423f64 System.__ComObject
11305 460e303c            0         0 00000000     none    5d4252fc System.__ComObject    
11306 460e3008            0         0 00000000     none    5d42d370 System.__ComObject
11307 460e2fd4            0         0 00000000     none    5d4214ec System.__ComObject
11308 460e2fa0            0         0 00000000     none    5d429460 System.__ComObject
11309 460e2f6c            0         0 00000000     none    5d423f54 System.__ComObject
11310 460e2f38            0         0 00000000     none    5d4252d4 System.__ComObject
11311 460e2f04            0         0 00000000     none    5d42d2f8 System.__ComObject
11312 43cfe168            0         0 00000000     none    2c3231f0 System.__ComObject
11313 460e2ed0            0         0 00000000     none    5d4214dc System.__ComObject
11314 460e2e9c            0         0 00000000     none    5d4252c4 System.__ComObject
11315 4426b320            0         0 00000000     none    2c4ee950 System.__ComObject
11316 460e2e68            0         0 00000000     none    5d423f24 System.__ComObject
11317 460e2e34            0         0 00000000     none    5d4252b4 System.__ComObject
11318 460e2e00            0         0 00000000     none    5d42d284 System.__ComObject    
11319 460e2dcc            0         0 00000000     none    5d4214ac System.__ComObject
11320 460e2d98            0         0 00000000     none    5d423dd4 System.__ComObject
11321 460e2d64            0         0 00000000     none    5d4252a4 System.__ComObject
11322 460e2d30            0         0 00000000     none    5d429384 System.__ComObject
11323 460e2cfc            0         0 00000000     none    5d42149c System.__ComObject
11324 460e2cc8            0         0 00000000     none    5d425294 System.__ComObject
11325 460e2c94            0         0 00000000     none    5d429374 System.__ComObject
11326 460e2c60            0         0 00000000     none    5d42148c System.__ComObject
11327 460e2c2c            0         0 00000000     none    5d42b29c System.__ComObject
11328 460e2bf8            0         0 00000000     none    5d425284 System.__ComObject

如您所见,所有Monitorheld列都返回0,为什么?

0 个答案:

没有答案