This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: status of gcj's boehm collector?
- From: Andrew Haley <aph at cambridge dot redhat dot com>
- To: "Boehm, Hans" <hans_boehm at hp dot com>
- Cc: "'Adam Megacz'" <gcj at lists dot megacz dot com>, java at gcc dot gnu dot org
- Date: Thu, 6 Dec 2001 18:49:20 +0000 (GMT)
- Subject: RE: status of gcj's boehm collector?
- References: <40700B4C02ABD5119F000090278766443BEDE7@hplex1.hpl.hp.com>
Boehm, Hans writes:
>
> Thinking about this some more, I think the current System.gc() call
> actually makes a little bit of sense if you run out of some
> non-memory resource, and want to run both the collector and
> finalizers.
Like file descriptors, f'rexample.
We depend on system.gc closing unused file descriptors. I suspect
we'd run out of those long before running out of memory in some
applications.
Andrew.