Skip to content


Java: Soft Reference

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Q: What is a soft reference?
A: Soft references are generally retained if memory is available. If however, the JVM is running short of memory then the soft references can be garbage collected.

http://weblogs.java.net/blog/enicholas/archive/2006/05/understanding_w.html
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ref/SoftReference.html

  • StumbleUpon
  • Digg
  • del.icio.us
  • Reddit
  • Facebook
  • Technorati
  • IndiaGram
  • Print this article!
  • TwitThis
  • Slashdot
  • SphereIt

No related posts.

Posted in Interview Questions, Java. Tagged with , , .

One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Continuing the Discussion

  1. Interview Account - IB1 | Tech BhaiGiri linked to this post on May 8, 2009

    [...] View further details and comments [...]

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.