This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Mod-GCJ project at sourceforge
- From: Andi Vajda <andi at osafoundation dot org>
- To: Hannes Wallnoefer <hannes at helma dot at>
- Cc: java at gcc dot gnu dot org
- Date: Fri, 19 Mar 2004 14:55:01 -0800 (PST)
- Subject: Re: Mod-GCJ project at sourceforge
- References: <405B66BC.1050603@helma.at>
- Reply-to: Andi Vajda <andi at osafoundation dot org>
Let me know what you find out about integrating apache's threads with
gcj/java. Before a thread created outside java can allocate any java memory
some magic has to be played with the boehm-gc APIs.
I recently figured something out for threads started by python and
posted a question to this list about validating it but never got any reply.
Andi..
On Fri, 19 Mar 2004, Hannes Wallnoefer wrote:
> As announced a few days ago, I started a project at sourceforge to
> create an Apache module for running GCJ-compiled Java inside the web
> server. The site is now up and has some early code as well as a summary
> of things I found out so far.
>
> http://mod-gcj.sourceforge.net/
>
> Basically, I spent most of the time trying to work around the fact that
> libgcj quits when a library of compiled Java is loaded more than once,
> which seems pretty unavoidable when working with Apache. I'm getting
> Errors thrown from _Jv_RegisterClassHookDefault all the time. Is there a
> chance of this getting fixed in the near future? Otherwise, hints on how
> to work around this would be helpful.
>
> If this can be solved I'm pretty upbeat about the possibilities of
> Apache + GCJ.
>
> Hannes
>