Code, rants and ramblings of a programmer.
Browse by Tags
Tagged Content List
Disabling JIT optimizations while debugging
If you've ever been debugging a managed app, only to be unable to evaluate any of the locals or parameters because the code was "optimized", check out the article below. It shows a quick trick to disable optimizations by way of a .ini file. This is great because it doesn't force...
29 Aug 2008
CLR Changes in 3.5 SP1
If you haven't come across this post yet about inlining changes in 3.5 SP1 it's a good read. The short version is, value types will have better performance. http://blogs.msdn.com/clrcodegeneration/archive/2007/11/02/how-are-value-types-implemented-in-the-32-bit-clr-what-has-been-done-to-improve-their...
22 Aug 2008
CLR Memory Model
Internally and externally I see a lot of questions about the .Net Memory Model. I think a lot of the confusion comes from the specs. Mainly that there are really two of them. The first is the ECMA CLI Memory Model (Partition 1, Section 12). This standard introduces a relaxed memory model which, IMHO...
17 Jan 2008
While investigating a recent bug I found about an interesting return for GetParamForMethodIndex. On a perfectly verifiable assembly, a call to GetParamForMethodIndex was returning a failure code. After some searching I found the return code was CLDB_E_RECORD_NOTFOUND. I was surprised at first because...
30 Jul 2007
Page 1 of 1 (4 items)
© 2014 Microsoft Corporation.
Privacy & Cookies