PhantomReference: why not cleared by GC when enqueued?

Clemens Eisserer linuxhippy at gmail.com
Thu May 30 01:22:28 UTC 2013


Hi,

> Why phantom references are not automatically cleared by the garbage collector as they are enqueued?

I've heard several times that actually a software patent is the reason
for this quite strange bahviour:
https://forums.oracle.com/forums/thread.jspa?threadID=1158696&tstart=60

However, no idea whether its just rumor or true ;)

Regards, Clemens



More information about the hotspot-gc-dev mailing list