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: CNI from apache module


Per Bothner wrote:

> There are some issues with threading.  I experimented with both
> --with-mpm=prefork and --with-mpm-threaded.  You'd like to use use 
> 'threaded', both for performance and because you want all "servlets"
> to share a single JVM.  However, then you may have to kludge various
> things.  For example you need to make sure that gc.h is included so
> that the GC can be notified of thread changes.  I tried #include <gc.h>
> in srclib/apr/pthread.h. 


We could probibly (should) make JvAttachCurrentThread and 
JvDetachCurrentThread do the neccessary thread registration and 
de-registration with the collector. That way changes to apache itself 
should be avoidable.

regards

Bryce.



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