Jump to content

Phantom reference

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Muymoo (talk | contribs) at 18:16, 12 December 2011. 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.