I have recently been doing a security code review for my company and using a tool called Fortify360. It will identify many issues with the code and describe the problems. An interesting issue it has r
What actually happens in C# when: 1) A method gets invoked. 2) The method allocates memory (e.g. MemoryStream mm = new MemoryStream()).
say I have var hGCFile = GCHandle.Alloc(buffer, GCHandleType.Pinned) And I P/Invoke some unmanaged function with
when launching the following code in ADL, why does the square continue to rotate? var square:Sprite = new Sprite();
I\'m trying to figure out the lifetime of the tmpTabPages in the following bit of code. Lets assume the form has an empty TabControl named MyTabControl, that there\'s a collection of strings called Na
Is it possible in .net to get all instances of concrete type created in application? I guess such in开发者_运维技巧formation is stored in GC, but is it accessible from code? Check Raymond Chen\'s blog
Suppose you have a managed class that converts a delegate member to a native function pointer and hands it to native code.Assume that the class/delegate stays in scope and does not change for the life
When would the garbage collector erase an instance of an object that uses Singleton pattern? Does an object hang around any longer than a regular object?
I am writing a procedure to sync large number of contacts with the Android Contacts database. The downloading works fine for about 700 contacts after which i am consistantly getting a memory heap erro
I read at many places, but did not find a place where I can learn about : What is java garbage collection all about?