garbage-collection
When does an Action<T> get garbage collected?
I have an Event Aggregator that\'s using WeakReferences to store Action<T>.The problem I\'m running into is that my actions keep getting garbage collected.[详细]
2023-04-12 09:13 分类:问答How to force the JVM to clear all WeakReferences / keys of a WeakHashMap
Is there a way to force the jvm that it should clear all WeakReferences (or all keys of a WeakHashMap) if they aren\'t referenced by regular references anymore?[详细]
2023-04-12 08:30 分类:问答Memory page write detection on Windows & Linux
I\'m currently working on a generational garbage collector. This means that only the most recent objects get traversed, surviving objects (= reachable from known roots) being promoted to the older gen[详细]
2023-04-12 00:57 分类:问答Do local variables inside of a loop get garbage collected?
I\'m wondering if it is more efficient to place any vars referenced within a loop, outside of the loop - or can they get garbage collected like vars inside of a function?[详细]
2023-04-11 22:00 分类:问答What exactly is the contract of GCHandle.Alloc(Object)?
I\'d like to have a rigorous understanding of the contract of GCHandle.Alloc(Object). I understand from t开发者_Python百科he documentation that if I call:[详细]
2023-04-11 17:02 分类:问答How long do objects stay in memory after a soap request to WCF?
I was wondering how long do objects instantiated during a soap request ( which do not implement IDisposable ) stay in memory?[详细]
2023-04-11 13:47 分类:问答How to free up memory of an Executor Service that has been shut down for garbage collecting?
I am working on at the moment on a program that uses a lot of threads. A- My question is related to freeing up the executors once they have shut down for garbage collecting, what is the best way? I[详细]
2023-04-11 11:45 分类:问答Language without explicit memory alloc/dealloc AND without garbage collection
I was wondering if it is possible to create a programming language without explicit memory allocation/deallocation (like C, C++ ...) AND without garbage collection (like Java, C#...) by doing a full a[详细]
2023-04-11 11:16 分类:问答MonoTouch and IDisposable Pattern
Reading MT documentation, I\'ve seen that it is possible to release memory also implementing the IDisposable .NET patt开发者_运维技巧ern.[详细]
2023-04-11 10:18 分类:问答Does and increasing resident memory size in the JVM indicate a memory leak?
I am starting up a JBoss 4.2 server instance with the following command-line options: -Xms8192m -Xmx8192m -XX:+DisableExplicitGC -XX:MaxPermSize=512m[详细]
2023-04-10 22:47 分类:问答