Adding Reference Counting to the Shared Source CLI
Hits: 334
Description: Adding Reference Counting to the Shared Source CLI : Moving to a garbage-collected environment in the Common Language Runtime has, for the most part, made memory leaks a problem of the past. However, the lack of deterministic finalization implied by the garbage collection scheme makes management of non-memory resources more difficult. The C++ community has found that the "resource acquisition is initialization" [1] idiom is very effective in managing those resources that need to be freed as soon as possible. We added reference counting to the Shared Source Common Language Infrastructure to regain deterministic finalization, and to find out what the penalties would be for this extra memory management.