[kaffe] CVS kaffe (guilhem): Fixlet memory statistics printing.

Kaffe CVS cvs-commits at kaffe.org
Fri May 6 10:05:47 PDT 2005


PatchSet 6441 
Date: 2005/05/06 16:58:55
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Fixlet memory statistics printing.

Members: 
	ChangeLog:1.3969->1.3970 
	kaffe/kaffevm/kaffe-gc/gc-incremental.c:1.25->1.26 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3969 kaffe/ChangeLog:1.3970
--- kaffe/ChangeLog:1.3969	Fri May  6 15:36:06 2005
+++ kaffe/ChangeLog	Fri May  6 16:58:55 2005
@@ -1,5 +1,10 @@
 2005-05-06  Guilhem Lavaux  <guilhem at kaffe.org>
 
+	* kaffe/kaffevm/kaffe-gc/gc-incremental.c
+	(gcMan): Fixed memory statistics printing.
+
+2005-05-06  Guilhem Lavaux  <guilhem at kaffe.org>
+
 	* libraries/clib/nio/FileChannelImpl.c
 	(throwIOException): Use ExceptionCheck instead of ExceptionOccurred.
 
Index: kaffe/kaffe/kaffevm/kaffe-gc/gc-incremental.c
diff -u kaffe/kaffe/kaffevm/kaffe-gc/gc-incremental.c:1.25 kaffe/kaffe/kaffevm/kaffe-gc/gc-incremental.c:1.26
--- kaffe/kaffe/kaffevm/kaffe-gc/gc-incremental.c:1.25	Fri May  6 15:24:30 2005
+++ kaffe/kaffe/kaffevm/kaffe-gc/gc-incremental.c	Fri May  6 16:58:57 2005
@@ -635,7 +635,7 @@
 			(gcStats.totalmem-gcStats.freedmem)/1024, 
 			gcStats.totalobj,
 			gcStats.totalobj-gcStats.freedobj,
-			(1.0 - ((gcStats.totalmem-gcStats.freedmem)/
+			(1.0 - (((float)gcStats.totalmem-gcStats.freedmem)/
 				gc_get_heap_total())) * 100.0,
 			gcStats.allocmem/1024,
 			gcStats.allocobj,




More information about the kaffe mailing list