> I'm curious why the Java2D mechanism uses
> WeakReference instead of PhantomReference given the
> problem mentioned here:

I also asked this question to myself severla times, because PhantomReferences 
seem to be exactly designed for what the Disposer uses Weak-References.

I think it could be related to performance, because Phantom-References can't be 
completly freed in one GC cycle as far as I know, but of course I may be 
completly wrong ;)

Would be really interesting to know the exact reason from someone who knows for 
sure ;)

, lg Clemens
[Message sent by forum member 'linuxhippy' (linuxhippy)]

http://forums.java.net/jive/thread.jspa?messageID=243389

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to