Discussion about this post

User's avatar
The AI Architect's avatar

Solid compilation of JVM fundamentals. The question about WeakReference vs SoftReference is particuarly useful because its one of those concepts that comes up rarely but when it does, proper understanding can prevent major memory leaks. Ran into a situation last year where a caching layer was eating memory, and it turned out to be misused SoftReferences that wehrent being collected under normal conditions. Worth understanding when JVM actually decides to clear them

No posts

Ready for more?