[Gc] Small patch for GC_generate_random_backtrace

Ivan Maidanski ivmai at mail.ru
Sat Sep 19 11:27:55 PDT 2009


I've checked in this small one (ivmai149.diff) which prints an error if we are trying to generate a backtrace when GC is turned off.

ChangeLog entries:

	* dbg_mlc.c (GC_generate_random_backtrace): Call
	GC_try_to_collect(GC_never_stop_func) instead of GC_gcollect();
	if GC is disabled then print error message and return.
	* include/gc.h (GC_try_to_collect): Refine the comment.
	* include/private/gc_priv.h (GC_never_stop_func): Fix return type;
	refine the comment.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ivmai149.diff
Type: application/octet-stream
Size: 2113 bytes
Desc: not available
Url : https://napali.hpl.hp.com/pipermail/gc/attachments/20090919/f41dea08/ivmai149.obj

More information about the Gc mailing list