[GHC] #9696: readRawBufferPtr and writeRawBufferPtr allocate memory
GHC
ghc-devs at haskell.org
Tue Mar 1 14:07:18 UTC 2016
#9696: readRawBufferPtr and writeRawBufferPtr allocate memory
-------------------------------------+-------------------------------------
Reporter: mergeconflict | Owner:
Type: bug | Status: new
Priority: low | Milestone:
Component: Compiler | Version: 7.8.3
Resolution: | Keywords: newcomer
Operating System: Unknown/Multiple | Architecture: x86_64
Type of failure: Runtime | (amd64)
performance bug | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by mjmrotek):
Replying to [comment:3 thomie]:
> > 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.
>
> For a newcomer, to get acquainted with the patch submission process.
I did this part in https://phabricator.haskell.org/D1964 , grepping
through HEAD didn't show any more safe imports of
`rtsSupportsBoundThreads`. I didn't touch anything related to
`readRawBufferPtr`, `writeRawBufferPtr`, or `throwErrnoIfRetryMayBlock`,
though.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9696#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list