[GHC] #13167: GC and weak reference finalizers and exceptions

GHC ghc-devs at haskell.org
Wed May 16 12:41:56 UTC 2018


#13167: GC and weak reference finalizers and exceptions
-------------------------------------+-------------------------------------
        Reporter:  Yuras             |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       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:D4693
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"01bb17fd4dc6d92cf08632bbb62656428db6e7fa/ghc"
 01bb17fd/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="01bb17fd4dc6d92cf08632bbb62656428db6e7fa"
 Make finalizers more reliable.

 Ignore any errors thrown by finalizers when running them.

 This prevents a faulty finalizer from stopping the rest being called.

 Test Plan: ./validate, new test T13167

 Reviewers: hvr, bgamari, simonmar

 Reviewed By: bgamari, simonmar

 Subscribers: rwbarton, thomie, carter

 GHC Trac Issues: #13167

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

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


More information about the ghc-tickets mailing list