diff options
author | Giovanni Campagna <gcampagn@cs.stanford.edu> | 2015-07-17 11:55:49 +0100 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2015-07-22 17:50:02 +0100 |
commit | 0d1a8d09f452977aadef7897aa12a8d41c7a4af0 (patch) | |
tree | 3e8404c7f37c77b67ca913521e6890d6491f4721 /testsuite/tests/rts/outofmem.stderr-ws-64 | |
parent | b949c96b4960168a3b399fe14485b24a2167b982 (diff) | |
download | haskell-0d1a8d09f452977aadef7897aa12a8d41c7a4af0.tar.gz |
Two step allocator for 64-bit systems
Summary:
The current OS memory allocator conflates the concepts of allocating
address space and allocating memory, which makes the HEAP_ALLOCED()
implementation excessively complicated (as the only thing it cares
about is address space layout) and slow. Instead, what we want
is to allocate a single insanely large contiguous block of address
space (to make HEAP_ALLOCED() checks fast), and then commit subportions
of that in 1MB blocks as we did before.
This is currently behind a flag, USE_LARGE_ADDRESS_SPACE, that is only enabled for
certain OSes.
Test Plan: validate
Reviewers: simonmar, ezyang, austin
Subscribers: thomie, carter
Differential Revision: https://phabricator.haskell.org/D524
GHC Trac Issues: #9706
Diffstat (limited to 'testsuite/tests/rts/outofmem.stderr-ws-64')
-rw-r--r-- | testsuite/tests/rts/outofmem.stderr-ws-64 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/rts/outofmem.stderr-ws-64 b/testsuite/tests/rts/outofmem.stderr-ws-64 index 42a4696fcf..dca02c7ed8 100644 --- a/testsuite/tests/rts/outofmem.stderr-ws-64 +++ b/testsuite/tests/rts/outofmem.stderr-ws-64 @@ -1 +1 @@ -outofmem: out of memory (requested 2148532224 bytes) +outofmem: out of memory |