chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] make -:hs0 truly disable heap shrinking


From: felix . winkelmann
Subject: [PATCH] make -:hs0 truly disable heap shrinking
Date: Sun, 22 Dec 2019 11:09:12 +0100

Hi!

"-:hs0" is currently ineffective, since validity checks between parsing
the option and initializing the heap overwrite the setting.

This patch initializes the heap-parameter variables statically,
removes the validity checks and does an explicit check for
C_heap_shrinkage being 0.

I think the validity checks for the other settings are not really worth
it - if the user wants to tweak the heap settings, let her, even if it
may make no sense.


felix

Attachment: 0001-Disable-automatic-heap-shrinkage-when-hs-runtime-opt.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]