• Post Reply Bookmark Topic Watch Topic
  • New Topic

How can I create a object with soft reference?  RSS feed

 
Luiz Pereira
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I read in Kathy's book about advanced gc, she talk about soft, weak and phanton references but I should have more information and a example.
Thanks
 
Mr. C Lamont Gilbert
Ranch Hand
Posts: 1170
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Simple. Try looking in the JDK for information on java.lang.ref package.
Also more information on the subject can be found here http://java.sun.com/developer/technicalArticles/ALT/RefObj/
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!