The Artima Developer Community
Sponsored Link

GC faster with no finalize()?



This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


GC faster with no finalize()?

Posted by Richard Dallaway on 19 May 1998, 3:31 AM

From the book excerpt...

So in principle, if I don't define finalize() methods in my code, the GC will run faster over my objects because it will only have to do a Phase I pass and can skip the Phase II pass?

Oh, but as I can make no assumptions about the GC, I suppose there's little point loosing sleep over this.


  • Probably Bill Venners 19 May 1998, 8:20 AM (0)

Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us