GC 6.0 alpha 3 imported

Bryce McKinlay bryce@waitaki.otago.ac.nz
Tue Feb 12 21:27:00 GMT 2002


Fergus Henderson wrote:

>>+++ dbg_mlc.c	2002/02/12 04:37:53	1.11
>>@@ -429,6 +429,35 @@
>>     return (GC_store_debug_info(result, (word)lb, s, (word)i));
>> }
>> 
>>+# ifdef __STDC__
>>+    GC_PTR GC_debug_generic_malloc(size_t lb, int k, GC_EXTRA_PARAMS)
>>+# else
>>+    GC_PTR GC_debug_malloc(lb, k, s, i)
>>
>
>That is a bug -- GC_debug_malloc here should be GC_debug_generic_malloc.
>

Thanks. I think I'll just remove this function. GC_generic_malloc is 
only used for object arrays these days and GC_MALLOC is used in the 
debug case.

regards

Bryce.





More information about the Java-patches mailing list