Jump to content

Phantom reference

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Addbot (talk | contribs) at 16:35, 16 March 2013 (Bot: Migrating 1 interwiki links, now provided by Wikidata on d:q7180621). 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.