diff options
Diffstat (limited to 'src/ralloc.c')
| -rw-r--r-- | src/ralloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ralloc.c b/src/ralloc.c index 5724ae65d33..f7688561662 100644 --- a/src/ralloc.c +++ b/src/ralloc.c | |||
| @@ -1162,7 +1162,7 @@ r_alloc_init (void) | |||
| 1162 | r_alloc_initialized = 1; | 1162 | r_alloc_initialized = 1; |
| 1163 | 1163 | ||
| 1164 | page_size = PAGE; | 1164 | page_size = PAGE; |
| 1165 | #if !defined SYSTEM_MALLOC && !defined HYBRID_MALLOC | 1165 | #if !defined SYSTEM_MALLOC |
| 1166 | real_morecore = __morecore; | 1166 | real_morecore = __morecore; |
| 1167 | __morecore = r_alloc_sbrk; | 1167 | __morecore = r_alloc_sbrk; |
| 1168 | 1168 | ||
| @@ -1181,7 +1181,7 @@ r_alloc_init (void) | |||
| 1181 | mallopt (M_TOP_PAD, 64 * 4096); | 1181 | mallopt (M_TOP_PAD, 64 * 4096); |
| 1182 | unblock_input (); | 1182 | unblock_input (); |
| 1183 | #else | 1183 | #else |
| 1184 | #if !defined SYSTEM_MALLOC && !defined HYBRID_MALLOC | 1184 | #if !defined SYSTEM_MALLOC |
| 1185 | /* Give GNU malloc's morecore some hysteresis so that we move all | 1185 | /* Give GNU malloc's morecore some hysteresis so that we move all |
| 1186 | the relocatable blocks much less often. The number used to be | 1186 | the relocatable blocks much less often. The number used to be |
| 1187 | 64, but alloc.c would override that with 32 in code that was | 1187 | 64, but alloc.c would override that with 32 in code that was |
| @@ -1194,7 +1194,7 @@ r_alloc_init (void) | |||
| 1194 | #endif | 1194 | #endif |
| 1195 | #endif | 1195 | #endif |
| 1196 | 1196 | ||
| 1197 | #if !defined SYSTEM_MALLOC && !defined HYBRID_MALLOC | 1197 | #if !defined SYSTEM_MALLOC |
| 1198 | first_heap->end = (void *) PAGE_ROUNDUP (first_heap->start); | 1198 | first_heap->end = (void *) PAGE_ROUNDUP (first_heap->start); |
| 1199 | 1199 | ||
| 1200 | /* The extra call to real_morecore guarantees that the end of the | 1200 | /* The extra call to real_morecore guarantees that the end of the |