[kaffe] gc_free vs. KFREE

Dalibor Topic robilad at yahoo.com
Thu Apr 3 09:21:01 PST 2003


Hallo Marc,

--- Marc Kleine-Budde <kleine-budde at gmx.de> wrote:

> I've search for gc_free()s and found:
> 
> $KAFFE/kaffe/kaffevm/machine.c:479 codeblock
> gc_free()ed
> $KAFFE/kaffe/kaffevm/machine.c:602 codeblcok
> KMALLOC()ed
> within the jit3, codeblock is always gc_alloc()ed.

here codeblock is KMALLOCED and KREALLOCED, which
indicates thet it should be KFREED as well.

> 
> $KAFFE/kaffe/xprof/xprofiler.c:333 filename
> KMALLOC()ed
> $KAFFE/kaffe/xprof/xprofiler.c:380 filename
> gc_free()ed
> 
> I would have send pached, if I knew if we prefeer K*
> or gc_* :)

It's just a C string. KFREE it.

looking forward to your patch & changelog entries,
dalibor topic

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com




More information about the kaffe mailing list