This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GC incremental
Antonio Ake wrote:
>Hello. I have a question:
>Is the GC incremental working with gcj?
>Do I need to call GC_enable_incremental() in my java program to enable
>incremental collections (beacuse I didn't find a call to this function
>in libjava)?
>
A long time ago there were some problems with the GC's MPROTECT_VDB
mode, which is required for incremental GC, and linuxthreads. This may
well be resolved by now, so you could try adding a
GC_enable_incremental() call into libjava/boehm.cc:_Jv_InitGC and see if
it works. Let us know how you get on!
regards
Bryce.