[GHC] #9696: readRawBufferPtr and writeRawBufferPtr allocate memory

GHC ghc-devs at haskell.org
Sun Oct 19 02:09:32 UTC 2014


#9696: readRawBufferPtr and writeRawBufferPtr allocate memory
-------------------------------------+-------------------------------------
              Reporter:              |            Owner:
  mergeconflict                      |           Status:  new
                  Type:  bug         |        Milestone:
              Priority:  normal      |          Version:  7.8.3
             Component:  Compiler    |         Keywords:
            Resolution:              |     Architecture:  x86_64 (amd64)
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:  Runtime     |  Related Tickets:
  performance bug                    |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 I don't think this is a big deal, but `throwErrnoIfRetryMayBlock` isn't
 getting inlined. It probably should get inlined.

 Also, there is a safe foreign import of `rtsSupportsBoundThreads` in
 GHC.IO.FD (and also some other module(s) in base), which seems quite
 unnecessary considering `rtsSupportsBoundThreads` simply returns a
 constant.

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


More information about the ghc-tickets mailing list