I have a java application "with history" and it uses WeakReferences for caching. I made several heapdumps and saw that all of them contains a lot of objects with weak references (10%-15% of heap size, ~1.2GB).
- Does it mean that weak references produce memory pressure on JVM?
- And forces a FullGC with stop-the-world pauses?
P.S. I know that WeakReference produces performance penalty for GC for CMS, because it makes algorithm harder. But did somebody see a paper or some official information about it? I found only this SO post.