Peter Becker wrote:
> Swing might do the occasional System.gc() call or similar stunts. But it 
> might also just be the fact that the Qt objects have a finalizer, which 
> can hurt performance of the garbage collector in many ways, starting 
> with the time the method needs itself.
>   
I'm rather certain Swing does not call System.gc() here.  Objects with 
finalizers are just really expensive (as per one of the JavaOne talks 
this year).  Actually using finalizers is really expensive, but even 
having finalizers on one's classes leads to more expensive code paths.

--
Jess Holle


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to