[GHC] #13894: isByteArrayPinned# should consider BF_LARGE

GHC ghc-devs at haskell.org
Mon Jul 3 23:42:45 UTC 2017


#13894: isByteArrayPinned# should consider BF_LARGE
-------------------------------------+-------------------------------------
        Reporter:  winter            |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D3685
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"a6f3d1b00e9c37a56cd4db9e519309e94a65d181/ghc"
 a6f3d1b0/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="a6f3d1b00e9c37a56cd4db9e519309e94a65d181"
 rts: Fix isByteArrayPinned#'s treatment of large arrays

 It should respond with True to both BF_PINNED and BF_LARGE byte arrays.
 However, previously it would only check the BF_PINNED flag.

 Test Plan: Validate

 Reviewers: simonmar, austin, erikd

 Subscribers: winterland1989, rwbarton, thomie

 GHC Trac Issues: #13894

 Differential Revision: https://phabricator.haskell.org/D3685
 }}}

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


More information about the ghc-tickets mailing list