Welcome to MSDN Blogs Sign in | Join | Help

April 2009 - Posts

Finalizers and Thread local storage

Writing finalizers is generally tricky. In the msdn documentation for finalizers the following limitations are mentioned. The exact time when the finalizer executes during garbage collection is undefined The finalizers of two objects are not guaranteed

What post are you known for?

I was just listening to Scot Hanselman’s podcast where he interviews Joel. They talk about how most bloggers get known for one post. E.g. Joel is known for “ The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode
Posted by abhinaba | 3 Comments
Filed under:

.NET Code Pitching

The word pitch can have many meanings, but in case of the code pitching it is used in the sense of “to throw away”. The desktop CLR never throws away or pitches native code that it JITs. However, the .NET Compact Framework CLR supports code pitching due

Multiple calls to GC.ReRegisterForFinalize

What happens when there are multiple calls to GC.ReRegisterForFinalize for the same object? Consider the following C# code class MyClass { ~MyClass() { Console.WriteLine("~MyClass"); } } class Program { static void Main(string[] args) { MyClass

.NET Compact Framework MemMaker

“ Glen recently discovered that by keeping his application’s EXE empty and putting all the forms, code, resources, and data in managed DLLs, he reduced the amount of virtual memory his app uses inside its slot while at the same time taking advantage of
Posted by abhinaba | 1 Comments
Filed under:

Object Resurrection using GC.ReRegisterForFinalize

I have been thinking about writing this post for some time, but Easter weekend provided the right context to do so. When I first encountered GC.ReRegisterForFinalize I was a bit baffled. The context help “ Requests that the system call the finalizer for
Posted by abhinaba | 2 Comments

Technical Presentation Tip

I’m no Scot Hanselman , but even then I guess I can share at least one tip for delivering technical presentation that has worked very well for me. At the very beginning of your presentation always have a slide clearly calling out what the attendees will

Floating point operations in .NET Compact Framework on WinCE+ARM

There has been a some confusion on how .NETCF handles floating point operations. The major reason for this confusion is due to the fact that the answer differs across the platforms NETCF supports (e.g. S60/Xbox/Zune/WinCE). I made a post on this topic
 
Page view tracker