This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: status of gcj's boehm collector?
Bryce McKinlay writes:
> Andrew Haley wrote:
>
> >What I'm wondering is whether this is a real or a theoretical
> >requirement for gcj. So, for our current implementation, is there any
> >chance that calling System.gc() might not call finalizers for files
> >that are garmabge before returing?
> >
>
> Yes! The finalizers are run from a separate thread, so its most likely
> that they will not have run when System.gc() returns.
Ah, yes, I see. A patch is required, then.
Andrew.