[Gc] Patch for MAX_HEAP_SECTS value

Ivan Maidanski ivmai at mail.ru
Mon Sep 14 06:36:51 PDT 2009


Hi!

The value hard-coded for MAX_HEAP_SECTS in case of SMALL_CONFIG is too small (the heap limit could be reached at 2 MiB) to pass test.c in some configurations (the heap size is roughly 16 MiB observed), so I've increased MAX_HEAP_SECTS value by 2 (for SMALL_CONFIG).

Here is the patch (ivmai137.diff).

ChangeLog entries:

	* include/private/gc_priv.h (MAX_HEAP_SECTS): Guard with ifndef;
	increase the value to 256 entries for SMALL_CONFIG (to pass the
	tests); add the comment.

Bye.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ivmai137.diff
Type: application/octet-stream
Size: 1214 bytes
Desc: not available
Url : http://napali.hpl.hp.com/pipermail/gc/attachments/20090914/e1d36184/ivmai137.obj


More information about the Gc mailing list