CNI threads and garbage collection on FC4

Hans Boehm Hans.Boehm@hp.com
Sat Aug 27 05:05:00 GMT 2005



On Fri, 26 Aug 2005, Andi Vajda wrote:

>
> You cannot create a thread and pass it to java after the fact. The gc
> subsystem doesn't support that, yet. Hans Boehm, its author, intends to
> support this eventually....
>
> Andi..
>
That's generally correct, and having Java create the threads is no doubt
usually the best solution for now.

It might also work to create the threads ahead of time with GC_pthread_create,
so that the GC knows about them when they're created.  That's of course
an ugly hack, makes assumptions about your application structure, etc.

Hans



More information about the Java mailing list