Liran Chen's Blog

.Net Internals, Debugging, Multithreading - and More!

Friday, September 24, 2010

Writing a Semi-Local Object Pool

›
Using object pooling in managed environments can usually benefit us in two ways: Reducing the amount of time required to create "heav...
1 comment:
Friday, September 10, 2010

"!CLRStack -p" Isn't Always Reliable

›
One of the most commonly used commands in SOS is !CLRStack . When combined with the -p switch, SOS will attempt to display the values of t...
Thursday, September 2, 2010

DateTime.Now in v4.0 Causes Dynamic Memory Allocations

›
A while back I've mentioned in a post that calling DateTime.Now causes boxing. Following the posting, a feedback item was also posted ...
4 comments:
Sunday, August 29, 2010

Brain Teasing With Strings

›
And in today's post... a riddle. Actually, it comes down to a short C# program that deals with string comparisons, and demonstrates a s...
5 comments:
Tuesday, August 24, 2010

Reducing AutoResetEvent's Synchronization Overhead

›
One of the most common design patterns in multithreaded programming is the producer-consumer. In the usual scenario, a consumer thread is sp...
7 comments:
Friday, August 20, 2010

The Case of Delayed ACKs and Nagle's Algorithm

›
Even though the negative consequences of combining Nagle's Algorithm with Delayed ACKs when using TCP is well documented in the literatu...
1 comment:
Saturday, August 14, 2010

Don't Rely on Environment.ProcessorCount

›
One of the most hidden knowledge in multithreaded programming is the question "How many threads I should use in my application to achie...
‹
›
Home
View web version
Powered by Blogger.