Special treatment for WeakHashMap & related?

Questions about YourKit Java Profiler
Post Reply
Gibson
Posts: 181
Joined: Mon Apr 11, 2005 10:38 am

Special treatment for WeakHashMap & related?

Post by Gibson »

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.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Post by Anton Katilin »

Thank you for the suggestion.

We have added this request to the tracking system. We plan to address this issue in the next version.
Post Reply