Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt with softreference

 
PavanPL KalyanK
Ranch Hand
Posts: 212
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

The sun specification states that use the softreference to avoid OOM error .

I am having query regarding the usage of softreference . I googled but coudn't find any example on how to use this .


[/code]
 
Fernando Mendez
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In this page => http://www.codase.com/search/call?owner=java.lang.ref.SoftReference , you will find real world implementations samples of it. Hope it helps.
 
PavanPL KalyanK
Ranch Hand
Posts: 212
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks , Fernando
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic