• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Use of finalize methods in WO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use of finalize methods in WO


  • Subject: Re: Use of finalize methods in WO
  • From: Kieran Kelleher <email@hidden>
  • Date: Thu, 21 Aug 2008 08:14:17 -0400

Ah, just tell them they are a bunch of ignorant bog trotters!  ;-)

Well, OK ... seriously ... isn't that what the garbage collector does??!!! It calls finalize() to release resources and destroys objects to reclaim memory ..... are these seasoned java programmers or just some Windoze-keyboard-prodding IT guys trying to guard their turf, keep their jobs, impress the boss and play "beat the vendor up"?!!

So they have determined that the garbage collector is calling the finalize() method of objects ....... wow .... just like the Java 1.5 API says (am I missing something here? .... please someone correct *me* if *I* am the ignorant bog trotter!)

http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html



BTW, did they ever hear of the iTunes Music Store which runs on WebObjects platform? ... I think that is a pretty good testimonial.

On Aug 21, 2008, at 7:25 AM, Nilton Lessa wrote:

Hi list,

We are running in discussions with some IT guys of one of our clients that are criticizing us for the use of WO. 

Some of the arguments are pure rubish and not a problem at all. But one of the points they are stating is that, by the analysys of the garbage collector ,they are detecting the use of finalize() methods that, by ther judgement, is "bad practice", and harm the GC.

We don't call directly any finalize() in our methods.

Could anybody provide us with some opinion about this issue?

- where are the finalize() methods?(EOF, Wonder, ?)
- how this use could affect GC perfomance?
- is it a valid point "per se"?

Thanks in advance for help.

Bests regards,



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Use of finalize methods in WO
      • From: Simon McLean <email@hidden>
References: 
 >Use of finalize methods in WO (From: Nilton Lessa <email@hidden>)

  • Prev by Date: Re: A little hint
  • Next by Date: Re: Use of finalize methods in WO
  • Previous by thread: Use of finalize methods in WO
  • Next by thread: Re: Use of finalize methods in WO
  • Index(es):
    • Date
    • Thread