Re: [CVS] commit (config.h/jni.h stuff)

Date view Thread view Subject view Author view

From: Tim Wilkinson (tim@transvirtual.com)
Date: Wed Dec 09 1998 - 16:39:03 EST


What do Sun say on this subject? After all they must have JNI code which
calls 'malloc' - what to they say you should do?

Tim

Archie Cobbs wrote:

> Godmar Back writes:
> > Could we come up with a set of rules as to when to include "config.h"
> > and when not, and also a statement about the malloc redefinition issue?
> > I think #define malloc if you include "jni.h" might just be plain wrong?
> > It seems it's a big mess at this point.
>
> Why don't we just avoid using "malloc" everywhere in the source tree
> (except the GC). Use "kmalloc" instead or something.
>
> I think redefining things that this is extremely misleading. Same
> thing goes for "read", "write", etc.. Why not "kread", "kwrite" ??
>
> -Archie
>
> ___________________________________________________________________________
> Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com

--
  Tim Wilkinson                         Tel:     +1 510 704 1660
  Transvirtual Technologies, Inc.,      Fax:     +1 510 704 1893
  Berkeley, CA, USA.                    Email:   tim@transvirtual.com


Date view Thread view Subject view Author view

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