Java Reference Objects by Keith Gregory

Sponsored by
GSI logo

ABSTRACT: Java Reference Objects
Have your programs ever failed due to an OutOfMemoryError? Has one ever taken down an app-server?

The java.lang.ref package, introduced with JDK1.2 but still little used, is there to help. Its soft and weak reference objects provide developers a way to make objects available for garbage collection while still being used, and its phantom references provide a better alternative to object finalizers.

This presentation examines all three types of reference objects, in the context of the object life cycle. We discuss when it’s appropriate to use each, with examples. At the end, you’ll be prepared to tell the JVM “here, take my memory, just don’t kill my program.”

SPEAKER BIO:  Keith Gregory
KDGKeith Gregory has been in the software industry for 24 years, working on a wide variety of projects: from writing the drivers for one of the first PC faxmodems, to writing SQL for a massively parallel database as “Manager of Ad Hoc Programming” at Fidelity Investments. Currently he is a Technical Lead in the Web Technologies group at GSI Commerce.

 

MEETING SLIDES:
Link to speaker’s website

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s