weak-references
How to use WeakReference in Java and Android development?
I have been a java developer for 2 years. But I have never wrote a WeakReference in my code. How to use WeakReference to make my application more efficient especially the Andr开发者_如何转开发oid ap[详细]
2023-01-07 06:09 分类:问答Inherited WeakReference throwing ReflectionTypeLoadException in Silverlight
I\'m trying to use a type-safe WeakReference in my Silverlight app. I\'m following the recipe on this site: http://ondevelopment.blogspot.com/2008/01/generic-weak-reference.html only using the System.[详细]
2023-01-07 01:52 分类:问答WeakReference in Java inside Thread
i am trying to create an background thread that updates a Runnable at a given interval. It should also not prevent the \"parent\" from beeing garbage collected.[详细]
2023-01-06 06:36 分类:问答Is there any class for weak References on iPhoneOS ==> none
My APP received a big data that was used about twice times. So, I think It`ll cause a memory problem. In this case I use the WeakReference class on java.[详细]
2023-01-05 09:25 分类:问答Relational Database with cache-like drop behaviour
I am looking for a database system that should be a relational database. But a main feature has to be that it forgets entries to fit a certain condition, like \'least 开发者_如何学JAVArecently used\'[详细]
2023-01-04 00:55 分类:问答How to delete every reference of an object in Python?
Supose you have something like: x = \"something\" b = 开发者_JS百科x l = [b] How can you delete the object only having one reference, say x?[详细]
2023-01-03 04:05 分类:问答How to avoid memory leaks in callback?
Effective Java says: A third common source of memory leaks is listeners and other callbacks. If you implement an API where clients[详细]
2022-12-31 11:05 分类:问答Can I get a raw pointer from boost's weak_ptr?
Is it possible to get a raw pointer from boost:开发者_如何学C:weak_ptr? Boost\'s shared_ptr has get() method and \"->\" operator. Is there some rationale behind weak_ptr not having the same functional[详细]
2022-12-31 02:53 分类:问答Cost to GC of using weak references in C#?
In another question, Stephen C says: A second concern is that there are runtime overheads with using weak[详细]
2022-12-30 22:04 分类:问答Lifetime issue of IDisposable unmanaged resources in a complex object graph?
This question is about dealing with unmanaged resources (COM interop) and making sure there won\'t be any resource leaks. I\'d appreciate feedback on whether I seem to do things the right way.[详细]
2022-12-28 21:22 分类:问答