Self-Improvement : [Java] – Weak references (Soft/Phantom)

Adding to my series of article for self-improvement (especially) in Java, here’s a good link to explain Weak references (vs Strong references). As usual it’s open for comment the goal being to give anyone at least an idea of what it is and when it may be useful.



2 Commentaires

  1. « […] weak references are a massively useful feature which have been around since Java 1.2 was released, over seven years ago. » Hum, sure… How many people really know how garbage collection actually works? Then why bother with flavors of references?

    Anyway, nice info. Thx for sharing.

    1. just because we are Java Developpers doesn’t mean we have to be blindly stupid about memory management 😉
      c.f. the article’s examples

Votre commentaire

Entrez vos coordonnées ci-dessous ou cliquez sur une icône pour vous connecter:


Vous commentez à l’aide de votre compte Déconnexion /  Changer )

Photo Facebook

Vous commentez à l’aide de votre compte Facebook. Déconnexion /  Changer )

Connexion à %s

%d blogueurs aiment cette page :