* heap.cc (heap_init): Fix typo in comment.
This commit is contained in:
parent
fbe1e28194
commit
a341aab5a5
@ -1,3 +1,7 @@
|
|||||||
|
2009-06-05 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* heap.cc (heap_init): Fix typo in comment.
|
||||||
|
|
||||||
2009-06-04 Corinna Vinschen <corinna@vinschen.de>
|
2009-06-04 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_clipboard.cc: Avoid calling system_printf.
|
* fhandler_clipboard.cc: Avoid calling system_printf.
|
||||||
|
@ -41,7 +41,7 @@ heap_init ()
|
|||||||
arbitrary. Experiments on Vista show a memory size of 0x37e000 or
|
arbitrary. Experiments on Vista show a memory size of 0x37e000 or
|
||||||
0x1fd000 overlapping the usual heap by at most 0x1ed000. So what
|
0x1fd000 overlapping the usual heap by at most 0x1ed000. So what
|
||||||
we do here is to allocate the heap with an extra slop of (by default)
|
we do here is to allocate the heap with an extra slop of (by default)
|
||||||
0x200000 and set the appropriate pointers to the start of the heap
|
0x400000 and set the appropriate pointers to the start of the heap
|
||||||
area + slop. A forking child then creates its heap at the new start
|
area + slop. A forking child then creates its heap at the new start
|
||||||
address and without the slop factor. Since this is not entirely
|
address and without the slop factor. Since this is not entirely
|
||||||
foolproof we add a registry setting "heap_slop_in_mb" so the slop
|
foolproof we add a registry setting "heap_slop_in_mb" so the slop
|
||||||
|
Loading…
x
Reference in New Issue
Block a user