Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Force memory allocation to use mmap

  • Loading branch information...
commit 5d37d6a1871ad00d562ef0393a6b397bcc8b0d3f 1 parent a5e267d
Evgeny Eltsin authored
Showing with 3 additions and 9 deletions.
  1. +3 −9 libgc/include/private/gcconfig.h
View
12 libgc/include/private/gcconfig.h
@@ -1212,15 +1212,9 @@
# endif /* STACK_GRAN */
# define STACK_GRAN 0x10000
# define HEURISTIC1
-# ifdef USE_MMAP
-# undef USE_MMAP
-# endif
-# ifdef USE_MUNMAP
-# undef USE_MUNMAP
-# endif
-# ifdef USE_MMAP_ANON
-# undef USE_MMAP_ANON
-# endif
+# define USE_MMAP
+# define USE_MUNMAP
+# define USE_MMAP_ANON
# ifdef USE_MMAP_FIXED
# undef USE_MMAP_FIXED
# endif
Please sign in to comment.
Something went wrong with that request. Please try again.