[Gc] Patch for MAX_HEAP_SECTS value
ivmai at mail.ru
Mon Sep 14 06:36:51 PDT 2009
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).
* 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1214 bytes
Desc: not available
Url : https://napali.hpl.hp.com/pipermail/gc/attachments/20090914/e1d36184/ivmai137.obj
More information about the Gc