This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Class unloading (Was: Heap fragmentation (Was: Debugging "Leaks" With Boehm-GC))
- From: Andrew Haley <aph at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Martin Egholm Nielsen <martin at egholm-nielsen dot dk>, java at gcc dot gnu dot org
- Date: Tue, 31 Jan 2006 10:03:58 +0000
- Subject: Re: Class unloading (Was: Heap fragmentation (Was: Debugging "Leaks" With Boehm-GC))
- References: <65953E8166311641A685BDF71D8658266C1B75@cacexc12.americas.cpqcorp.net> <43DD27AB.9030907@egholm-nielsen.dk> <m3k6chk02b.fsf@localhost.localdomain>
Tom Tromey writes:
> >>>>> "Martin" == Martin Egholm Nielsen <martin@egholm-nielsen.dk> writes:
>
> [ class unloading ]
> Martin> Since it's in the JLS it may be standard GCJ behaviour?
>
> We don't really implement this yet. It might work for interpreted
> classes, I'm not sure.
>
> We haven't made this work for compiled classes yet. Ideally we would
> unmap shared libraries when all the classes from that .so have been
> collected.
I am actively working on this.
Andrew.