>> From: Andy Kriger [mailto:[EMAIL PROTECTED] >> Subject: finalize question >> >> Problem is, I'm not seeing any finalize methods being called. > > Reliance on finalizers is a sign of extremely poor application design. > First, it can be a significant performance hit, since objects with > finalizers have to be handled specially both by allocation and garbage > collection. Second, there's no guarantee that a finalizer will _ever_ > be called, so if you're dependent on that happening, you're in trouble > right from the start. Much better to design your app with discrete > event handling and not leave it up to the whims of the garbage > collector. > > - Chuck
I must not have been clear in my original message - I'm not relying on finalizers in my application design. I don't use them at all generally. I was hoping that I could use AOP to log whenever a finalizer was called so I could see if there were any glaring instances of an object not getting gc'd. This is purely a debugging situation. thx andy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]