Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Core%20Java%20Interview%20Questions%20and%20Answers

Question: What is phantom memory?
Answer: Phantom memory is false memory. Memory that does not exist in reality.
Phantom references are most often used for scheduling pre-mortem cleanup actions in a more flexible way than is possible with the java finalization mechanism. Unlike soft and weak references, phantom references are not automatically cleared by the garbage collector as they are enqueued.
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook