GC with threads on Darwin/OS X

Andreas Tobler toa@pop.agri.ch
Thu Jan 16 05:36:00 GMT 2003


Jeff Sturm wrote:
> (digging through some rather old email...)
>> On 2002年9月12日, Brian Alliet wrote:
>>>The past few days I've been trying to get GCJ and the boehm-gc working
>>on Darwin/OS X. I've made a lot of progress. I'm using mach's
>>thread_suspend()/thread_resume() calls to suspend other threads while
>>the GC does its work. It seems to be working well, well enough to
>>almost run the X11 version of XWT (www.xwt.org). There are still some
>>bugs to iron out and some cleanup that needs to be done, but it looks
>>promising.
>>> How far did you get with this? Do you have any patches available for
> review?
>> I'm taking a look at darwin threads now. It isn't hard to build the
> collector with linux_threads.c, the main difficulty is finding a
> replacement for unnamed semaphores.
>> However, I'm seeing some odd crashes at runtime. Perhaps the library is
> calling non-thread-safe functions. I'm not really sure what's wrong.

Here I see some random passes of FileHandleGcTest.exe, but most time it 
fails. Invoking gdb shows that it has to do with threads.
Would be great if you have some patches around to review.
Thanks,
Andreas


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /