[kaffe] gc_free vs. KFREE
Marc Kleine-Budde
kleine-budde at gmx.de
Fri Apr 4 00:53:01 PST 2003
Hi Dalibor,
On Thu, Apr 03, 2003 at 09:22:46AM -0800, Dalibor Topic wrote:
> looking forward to your patch & changelog entries,
> dalibor topic
Both patch and changelog are attached. BTW what is the appropriate way
to submit changelog entries?
regards Marc
-------------- next part --------------
Index: kaffe//kaffevm/jit/machine.c
===================================================================
RCS file: /gyro/cvs/kangaroo/kaffe/kaffevm/jit/machine.c,v
retrieving revision 1.1.1.1.2.1
diff -U4 -r1.1.1.1.2.1 machine.c
--- kaffe//kaffevm/jit/machine.c 2003/03/04 15:07:51 1.1.1.1.2.1
+++ kaffe//kaffevm/jit/machine.c 2003/04/04 08:38:50
@@ -475,9 +475,9 @@
}
memcpy(codebase, codeblock, CODEPC);
addToCounter(&jitcodeblock, "jitmem-codeblock", 1,
-(jlong)GCSIZEOF(codeblock));
- gc_free(codeblock);
+ KFREE(codeblock);
/* Establish any code constants */
establishConstants(methblock + exc_len);
Index: kaffe//xprof/xprofiler.c
===================================================================
RCS file: /gyro/cvs/kangaroo/kaffe/xprof/xprofiler.c,v
retrieving revision 1.1.1.1
diff -U4 -r1.1.1.1 xprofiler.c
--- kaffe//xprof/xprofiler.c 2003/02/06 12:01:49 1.1.1.1
+++ kaffe//xprof/xprofiler.c 2003/04/04 08:38:50
@@ -376,9 +376,9 @@
{
fprintf(stderr,
"XProf Notice: Cannot create gmon file %s\n",
filename);
- gc_free(filename);
+ KFREE(filename);
resetMemorySamples(kaffe_memory_samples);
}
}
else
-------------- next part --------------
* kaffe/xprof/xprofiler.c:
(xProfileStage) replace use of gc_free by KMALLOC
* kaffe/kaffevm/jit/machine.c
(finishInsnSequence) replace use of gc_free by KMALLOC
More information about the kaffe
mailing list