The Artima Developer Community
Sponsored Link

GC faster with no finalize()?

Advertisement

Advertisement

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.

Message:

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.

Richard



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

Sponsored Links



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