diff options
-rw-r--r-- | gc.c | 9 | ||||
-rwxr-xr-x | misc/lldb_cruby.py | 5 |
2 files changed, 3 insertions, 11 deletions
@@ -858,14 +858,9 @@ typedef struct rb_objspace { } rb_objspace_t; -#if defined(__APPLE__) && defined(__LP64__) && !defined(HEAP_PAGE_ALIGN_LOG) -/* for slow mmap: 64KiB */ -#define HEAP_PAGE_ALIGN_LOG 16 -#endif - #ifndef HEAP_PAGE_ALIGN_LOG -/* default tiny heap size: 16KB */ -#define HEAP_PAGE_ALIGN_LOG 14 +/* default tiny heap size: 64KiB */ +#define HEAP_PAGE_ALIGN_LOG 16 #endif #define BASE_SLOT_SIZE sizeof(RVALUE) diff --git a/misc/lldb_cruby.py b/misc/lldb_cruby.py index 15d17d46da..e7f7003214 100755 --- a/misc/lldb_cruby.py +++ b/misc/lldb_cruby.py @@ -12,10 +12,7 @@ import os import shlex import platform -if platform.system() == 'Darwin': - HEAP_PAGE_ALIGN_LOG = 16 -else: - HEAP_PAGE_ALIGN_LOG = 14 +HEAP_PAGE_ALIGN_LOG = 16 HEAP_PAGE_ALIGN_MASK = (~(~0 << HEAP_PAGE_ALIGN_LOG)) HEAP_PAGE_ALIGN = (1 << HEAP_PAGE_ALIGN_LOG) |