Increase MAX_HEAP_SECTS (10 times) for large-config
authorThomas Linder Puls <thomas_linder_puls@hotmail.com>
Mon, 6 Mar 2017 10:55:56 +0000 (11:55 +0100)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 7 Mar 2017 16:44:57 +0000 (19:44 +0300)
commita17c62cb84685cd96a5ff40ed8060f6236e9c485
treebad7162e9444eb599b7c12fb5803a22cdbcbbbe0
parent1eb21fa5caf6ad8a221610bfc72121bcca00275a
Increase MAX_HEAP_SECTS (10 times) for large-config

This enables heaps larger than 128 GB on 64-bit targets.

* include/private/gc_priv.h [!MAX_HEAP_SECTS && LARGE_CONFIG]
(MAX_HEAP_SECTS): Increase value 10 times (from 8192 to 81920 if
64-bit target, from 768 to 7680 otherwise); remove comments.
include/private/gc_priv.h