
#9706: New block-structured heap organization for 64-bit -------------------------------------+------------------------------------- Reporter: ezyang | Owner: simonmar Type: task | Status: new Priority: normal | Milestone: Component: Runtime | Version: 7.8.3 System | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by refold): Replying to [comment:2 simonmar]:
* Windows doesn't overcommit, so we can't do this on Windows
From [http://msdn.microsoft.com/en- us/library/windows/desktop/aa366887%28v=vs.85%29.aspx the documentation for VirtualAlloc] it seems like it's possible to first reserve a memory range with `MEM_RESERVE` and then commit it as needed with `MEM_COMMIT`. [http://blogs.technet.com/b/markrussinovich/archive/2008/11/17/3155406.aspx This article] confirms it. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9706#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler