What is phantom memory

What is phantom memory ?

Answer :¬†Phantom memory or phantom reference is one of strengths or levels of “non strong” reference defined in Java programming language . Others are weak and soft .Phantom reference or memory are weakest level of reference in Java program in order from strongest to weakest :- they are: strong, soft, weak and phantom.

An objects are phantomly referenced after it got finalized but before its allocated memory has been reclaimed.

Leave a Reply

Your email address will not be published. Required fields are marked *

I am not Robot *