This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GC with threads on Darwin/OS X


(digging through some rather old email...)

On Thu, 12 Sep 2002, 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.

Jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]