(ivmai137v2.diff)
* include/private/gc_priv.h (MAX_HEAP_SECTS): Guard with ifndef.
+2009-09-15 Ivan Maidanski <ivmai@mail.ru>
+ (ivmai137v2.diff)
+
+ * include/private/gc_priv.h (MAX_HEAP_SECTS): Guard with ifndef.
+
2009-09-14 Ivan Maidanski <ivmai@mail.ru>
(ivmai136v2.diff)
# if defined(PROC_VDB) || defined(GWW_VDB)
page_hash_table _written_pages; /* Pages ever dirtied */
# endif
+
+#ifndef MAX_HEAP_SECTS
# ifdef LARGE_CONFIG
# if CPP_WORDSZ > 32
# define MAX_HEAP_SECTS 8192 /* overflows at roughly 128 GB */
# endif
# endif
# endif
+#endif /* !MAX_HEAP_SECTS */
+
struct HeapSect {
ptr_t hs_start; size_t hs_bytes;
} _heap_sects[MAX_HEAP_SECTS]; /* Heap segments potentially */