[GHC] #12469: Memory fence on writes to MutVar/Array missing on ARM

GHC ghc-devs at haskell.org
Sat Oct 6 14:54:33 UTC 2018


#12469: Memory fence on writes to MutVar/Array missing on ARM
-------------------------------------+-------------------------------------
        Reporter:  rrnewton          |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.0.2
       Component:  Compiler          |              Version:  8.0.1
      Resolution:  fixed             |             Keywords:  memory model
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:  12537
 Related Tickets:                    |  Differential Rev(s):  Phab:D2495
       Wiki Page:                    |  Phab:D2525
-------------------------------------+-------------------------------------

Comment (by Ömer Sinan Ağacan <omeragacan@…>):

 In [changeset:"8be27c0371d53e051d59ba20dd65103bbb8d32d3/ghc"
 8be27c03/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="8be27c0371d53e051d59ba20dd65103bbb8d32d3"
 Add a missing write barrier to small array writes

 Write barriers for large array writes were added in D2525, as a part of
 #12469.
 However it seems we forgot about small arrays. This patch adds the same
 write
 barrier to small array writes.

 Reviewers: simonmar, bgamari

 Reviewed By: simonmar

 Subscribers: rwbarton, carter

 GHC Trac Issues: #12469

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

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


More information about the ghc-tickets mailing list