Could we have special treatment for WeakHashMap in the memory snapshot view?
Currently you automatically treat all WeakReferences as being nulled, which is great. However, you don't then clear all references which depend on the WeakReference being queued. Obviously, you can't just search for all ReferenceQueues in the application but a special case for the standard JDK classes (e.g. WeakHashMap, maybe others?) would be useful.
Special treatment for WeakHashMap & related?
-
- Posts: 181
- Joined: Mon Apr 11, 2005 10:38 am
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am