chicken-hackers
[Top][All Lists]
Advanced

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

[Chicken-hackers] tospace locking


From: felix winkelmann
Subject: [Chicken-hackers] tospace locking
Date: Wed, 7 Nov 2007 08:17:11 +0100

Hi!

The current trunk has a new build option to enable "tospace locking",
which disables read/write access to the currently unused heap space.
This is intended to catch bugs related to holding references to dead
memory (for example in ffi code). Enable it by passing "LOCKTOSPACE=1"
to the "make" invocation. I have not measured the performance impact yet.
Moreover, it uses mprotect() on malloc()ed memory, which isn't available
everywhere and according to POSIX not even defined (works in Linux, though).


cheers,
felix




reply via email to

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