PhantomReference Classes

by Tom

Here’s a nice article on the PhantomReference subclass of Reference, its functionality and behavior and when to use it, from dzone. Remember that since the java.lang.ref package defines classes that afford programmers a somewhat restricted amount of interaction with the garbage collector the concrete classes including PhantomReference- subclasses of Reference-all interact in different ways with the aforementioned garbage collector. This terrific article goes over how PhantomReference  classes can be used; their behavior and functionality. And by the way, DZone is one of the first destinations I go to every day or two when I peruse my feed reader looking for good articles that point everybody to on this site. I recommend it.

If you found this helpful or interesting, please share it!

Leave a Comment

Previous post:

Next post: