* gc.c: report heap_size - free_bytes as total memory allocated
(bug#49362).
svn path=/trunk/mono/; revision=18671
+
+Mon Oct 6 15:38:40 CEST 2003 Paolo Molaro <lupus@ximian.com>
+
+ * gc.c: report heap_size - free_bytes as total memory allocated
+ (bug#49362).
+
2003-10-05 Zoltan Varga <vargaz@freemail.hu>
* icall.c (ves_icall_System_CurrentTimeZone_GetTimeZoneData): Finally
#if HAVE_BOEHM_GC
if (forceCollection)
GC_gcollect ();
- return GC_get_heap_size ();
+ return GC_get_heap_size () - GC_get_free_bytes ();
#else
return 0;
#endif