[GHC] #9314: Each object file in a static archive file (.a) is loaded into its own mmap()ed page

GHC ghc-devs at haskell.org
Fri Jun 12 20:19:08 UTC 2015


#9314: Each object file in a static archive file (.a) is loaded into its own
mmap()ed page
-------------------------------------+-------------------------------------
        Reporter:  kazu-yamamoto     |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  high              |               Milestone:  7.12.1
       Component:  Compiler          |                 Version:  7.8.3
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Other             |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by hsyl20):

 I have made a patch for this one (https://phabricator.haskell.org/D985)

 With the example given in the ticket I get:
 {{{
                    Linux (64bit)
 7.10.1             174 MB / 20209 calls to mmap
 HEAD with patch     95 KB /   332 calls to mmap
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9314#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list