From: Geoff Norton Date: Mon, 29 Sep 2008 14:05:48 +0000 (+0000) Subject: 2008-09-29 Geoff Norton X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8389a8f1438d3e2edff45db370ae33d476056ad1;p=gc 2008-09-29 Geoff Norton * include/private/gcconfig.h: Make Darwin/ARM use mmap() instead of sbrk() for its allocator implementation. svn path=/trunk/mono/; revision=114396 --- diff --git a/ChangeLog b/ChangeLog index 4ff0f0df..ed55d6f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-09-29 Geoff Norton + + * include/private/gcconfig.h: Make Darwin/ARM use mmap() instead of + sbrk() for its allocator implementation. + 2008-08-28 Geoff Norton * darwin_stop_world.c: diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index ba9ca71a..ec3aeb29 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -1896,8 +1896,9 @@ # define DATASTART ((ptr_t) get_etext()) # define DATAEND ((ptr_t) get_end()) # define STACKBOTTOM ((ptr_t) 0x30000000) -# undef USE_MMAP -# undef USE_MUNMAP +# define USE_MMAP +# define USE_MMAP_ANON +# define USE_MUNMAP # endif # ifdef NOSYS /* __data_start is usually defined in the target linker script. */