Re: JNI thread synchronization

Date view Thread view Subject view Author view

From: Archie Cobbs (archie@whistle.com)
Date: Wed Feb 17 1999 - 01:37:23 EST


Godmar Back writes:
> > 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?

Just to tie this loose end.. that problem seems to have gone away now..
(but it has been replaced by the assertion failure :-)

-Archie

___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com


Date view Thread view Subject view Author view

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