Sign in
Yun Jin's WebLog
CLR internals, Rotor code explanation, CLR debugging tips, trivial debugging notes, .NET programming pitfalls, and blah, blah, blah...
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
.NET programming gotcha and debugging tips
CLR internal and Misc
Go with the flow
Rotor code explanation
Archive
Archives
April 2010
(4)
February 2010
(1)
January 2010
(3)
August 2005
(4)
July 2005
(1)
June 2005
(2)
May 2005
(3)
June 2004
(1)
February 2004
(2)
January 2004
(3)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Yun Jin's WebLog
Thread, System.Threading.Thread, and !Threads (I)
Posted
over 8 years ago
by
Yun Jin
4
Comments
If you use SOS’s !Threads command during debugging a lot, you should be familiar with such output: 0:003> !threads PDB symbol for mscorwks.dll not loaded Loaded Son of Strike data table version 5 from "C:\WINDOWS\Microsoft.NET\Framework\v1.1...
Yun Jin's WebLog
Thread, System.Threading.Thread, and !Threads (II)
Posted
over 8 years ago
by
Yun Jin
2
Comments
With knowledge in my previous blog , we could avoid some mistakes in .NET programming. A C++ Thread is very resource heavy. It is associated with a lot of dynamically allocated memory and some OS handles. So it had better to be cleaned up ASAP after...
Yun Jin's WebLog
Thread, System.Threading.Thread, and !Threads (III)
Posted
over 8 years ago
by
Yun Jin
5
Comments
I got email asking me to explain !Threads output in details. I think this is a good question and a good topic for another installment to the series. Here is an example I'll use for this post: 0:055> !threads ThreadCount: 202 UnstartedThread...
Yun Jin's WebLog
Trivial debugging note - using WeakReference in finalizer
Posted
over 8 years ago
by
Yun Jin
2
Comments
Some time ago I saw a problem from a partner team in Microsoft that an InvalidOperationException is thrown from WeakReference.IsAlive . WeakReference wraps weak GC handle implemented in CLR's Execution Engine ( GC handle is also exposed by System.Runtime...
Page 1 of 1 (4 items)