[Gc] Patch: printing heap size if out of memory

Ivan Maidanski ivmai at mail.ru
Thu Sep 17 00:27:05 PDT 2009


I've adjusted WARN("Out of Memory!...) to also output the heap size.

ChangeLog entries:

	* alloc.c (GC_collect_or_expand): Output heap size in WARN()
	(before returning FALSE) for convenience.

Probably nobody argues, so I've checked in this one together with ivmai139.diff (introducing GC_PRIdPTR).

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

More information about the Gc mailing list