Jump to content

Phantom reference

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by BattyBot (talk | contribs) at 09:54, 28 January 2012 (changed {{Unreferenced}} to {{Refimprove}} & general fixes using AWB (7916)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A phantom reference is one of the strengths or levels of 'non strong' reference defined in the Java programming language; the others being weak and soft.[1]

An object is phantomly referenced after it has been finalized, but before its allocated memory has been reclaimed.

See also

References

  1. ^ "Package java.lang.ref". Java™ Platform, Standard Edition 7 API Specification. Oracle. Retrieved 12 December 2011.