[GHC] #8199: Get rid of HEAP_ALLOCED
GHC
ghc-devs at haskell.org
Wed Jul 29 15:25:35 UTC 2015
#8199: Get rid of HEAP_ALLOCED
-------------------------------------+-------------------------------------
Reporter: ezyang | Owner: ezyang
Type: feature request | Status: new
Priority: normal | Milestone: 7.12.1
Component: Compiler | Version: 7.7
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: 5435 | Blocking:
Related Tickets: | Differential Revisions: D207
-------------------------------------+-------------------------------------
Comment (by simonmar):
I believe lazy committing should be the default if you just allocate a
chunk of memory with `VirtualAlloc`. The pages will be lazily faulted in
as necessary, so the pages we never touch won't consume any memory. We
just need to use the convention that a zero bit means "not heap".
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8199#comment:53>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list