From: "Chris Gray" <mbx03025@scarlet.be>
To: "cr88192" <cr88192@hotmail.com>
Cc: "aph" <aph@redhat.com>, "abhi00" <abhi00@gmail.com>,
"java" <java@gcc.gnu.org>
Subject: Re: Calling the garbage collector.
Date: Mon, 27 Jul 2009 15:37:00 -0000 [thread overview]
Message-ID: <KNG62F$A29CFBDE0DD882E74454F231B9825EE4@scarlet.be> (raw)
-
> hmm...
>
> maybe Java needs 'delete'?...
As in "maybe the pope needs a wife"? :-)
Automatic garbage collection means you don't know when garbage will be
collected, it could even be "after the VM exits", i.e. never. Running all
finalizers when the VM exits has been tried, and it was a disaster.
http://www.velocityreviews.com/forums/t145751-finalize-not-guaranteed-to-be-called-ever.html
http://www.hpl.hp.com/personal/Hans_Boehm/popl03/slides.pdf
etc..
PS I'm happy to report that the Mika VM also does not run your finalizer. :-)
Chris Gray /k/ Embedded Java Solutions
_________________________________________
Scarlet Mobile, free subscription in combination with your Scarlet One or ADSL, visit http://www.scarlet.be/fr/mobile3g
next reply other threads:[~2009-07-27 15:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-27 15:37 Chris Gray [this message]
2009-07-27 16:16 ` BGB
-- strict thread matches above, loose matches on Subject: below --
2009-07-27 9:41 abhishek desai
2009-07-27 10:07 ` Andrew Haley
2009-07-27 14:43 ` BGB
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='KNG62F$A29CFBDE0DD882E74454F231B9825EE4@scarlet.be' \
--to=mbx03025@scarlet.be \
--cc=abhi00@gmail.com \
--cc=aph@redhat.com \
--cc=cr88192@hotmail.com \
--cc=java@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).