Re: JNI thread synchronization

Date view Thread view Subject view Author view

From: Godmar Back (gback@cs.utah.edu)
Date: Fri Feb 12 1999 - 14:17:40 EST


>
> My ulterior motive here, by the way, is to eliminate all the
> potential race conditions caused by calling non-reentrant code
> (like malloc()) in our native code. These are the hardest bugs to
> reproduce and fix.. and right now the recursive malloc problem is
> preventing us from getting Apache+Jserv working correctly.
>

Did you ever get a stacktrace?

I thought I'd covered most cases where this would happen, and we
mostly use KMALLOC(). Does sprintf call malloc()?

Do you know what malloc call is causing this?

        - Godmar


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:58:07 EDT