projects
/
platform
/
upstream
/
libgc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f333bf
)
Disable munmap for ARM/Darwin.
gc6_8-iphone
author
Alexander Gavrilov
<Alexander.Gavrilov@at-software.com>
Mon, 22 Dec 2008 11:39:13 +0000
(14:39 +0300)
committer
Ivan 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
patch
|
blob
|
history
diff --git
a/include/private/gcconfig.h
b/include/private/gcconfig.h
index
5554559
..
969c02a
100644
(file)
--- 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. */