]> granicus.if.org Git - gc/commitdiff
Disable munmap for ARM/Darwin. gc6_8-iphone
authorAlexander Gavrilov <Alexander.Gavrilov@at-software.com>
Mon, 22 Dec 2008 11:39:13 +0000 (14:39 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 28 Jul 2011 07:57:48 +0000 (11:57 +0400)
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.

include/private/gcconfig.h

index 5554559a2d8db34a34daa132c044fd3c35567015..969c02a0b430c5e5a66fa52f83854324f453809a 100644 (file)
 #     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.  */