diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-06-05 11:15:28 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-06-05 11:15:28 +0000 |
commit | a341aab5a55d82a04f44a52cd8161f55d443580d (patch) | |
tree | c4885a8df88093eba57139b776ad209f815b83f0 /winsup/cygwin/heap.cc | |
parent | fbe1e28194f8fe36309bd95a47188990eecdeef5 (diff) | |
download | cygnal-a341aab5a55d82a04f44a52cd8161f55d443580d.tar.gz cygnal-a341aab5a55d82a04f44a52cd8161f55d443580d.tar.bz2 cygnal-a341aab5a55d82a04f44a52cd8161f55d443580d.zip |
* heap.cc (heap_init): Fix typo in comment.
Diffstat (limited to 'winsup/cygwin/heap.cc')
-rw-r--r-- | winsup/cygwin/heap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/heap.cc b/winsup/cygwin/heap.cc index adf041bde..be4946d25 100644 --- a/winsup/cygwin/heap.cc +++ b/winsup/cygwin/heap.cc @@ -41,7 +41,7 @@ heap_init () arbitrary. Experiments on Vista show a memory size of 0x37e000 or 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) - 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 address and without the slop factor. Since this is not entirely foolproof we add a registry setting "heap_slop_in_mb" so the slop |