
Yeah, I thought about this also. It's '''definitely''' possible, but
#13112: Windows 64-bit GHC HEAD segfaults on the code with a lot of TH stuff. ---------------------------------+-------------------------------------- Reporter: awson | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+-------------------------------------- Comment (by awson): Replying to [comment:7 awson]: this way we need to write a custom allocator which would commit/decommit pages inside this reserved space. This is surely doable, but not so much easily. Ah, we, perhaps, could reuse parts of `USE_LARGE_ADDRESS_SPACE` code for this (not using any large address space in fact). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13112#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler