summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gavrilov <Alexander.Gavrilov@at-software.com>2008-12-22 14:39:13 +0300
committerIvan Maidanski <ivmai@mail.ru>2011-07-28 11:57:48 +0400
commitbc84a55135fb2b40efc3ae7b9c7867ab616fa8c5 (patch)
tree696b4cf10f51cf7582fc934015449351ebe49d0f
parent6f333bf7934906900368ea9718132b3731721e45 (diff)
downloadbdwgc-bc84a55135fb2b40efc3ae7b9c7867ab616fa8c5.tar.gz
Disable munmap for ARM/Darwin.gc6_8-iphone
This feature is largely experimental, and causes random mprotect failures on iPhone, so it is better to disable it. This makes allocation of memory to Neko permanent until termination of the application.
-rw-r--r--include/private/gcconfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h
index 5554559a..969c02a0 100644
--- a/include/private/gcconfig.h
+++ b/include/private/gcconfig.h
@@ -1931,7 +1931,7 @@
# define STACKBOTTOM ((ptr_t) 0x30000000)
# define USE_MMAP
# define USE_MMAP_ANON
-# define USE_MUNMAP
+/*# define USE_MUNMAP*/
# endif
# ifdef NOSYS
/* __data_start is usually defined in the target linker script. */