Skip to content
Snippets Groups Projects
  1. Nov 30, 2013
  2. Nov 27, 2013
  3. Nov 22, 2013
  4. Nov 21, 2013
    • Simon Marlow's avatar
      Allow the linker to be used without retaining CAFs unconditionally · 5874f13f
      Simon Marlow authored
      This creates a new C API:
      
         initLinker_ (int retain_cafs)
      
      The old initLinker() was left as-is for backwards compatibility.  See
      documentation in Linker.h.
      5874f13f
    • Simon Marlow's avatar
      CheckUnload needs to look at revertible_caf_list · beaf8c37
      Simon Marlow authored
      Retained CAFs must keep an object file alive.
      beaf8c37
    • Simon Marlow's avatar
      In the DEBUG rts, track when CAFs are GC'd · e82fa829
      Simon Marlow authored
      This resurrects some old code and makes it work again.  The idea is
      that we want to get an error message if we ever enter a CAF that has
      been GC'd, rather than following its indirection which will likely
      cause a segfault.  Without this patch, these bugs are hard to track
      down in gdb, because the IND_STATIC code overwrites R1 (the pointer to
      the CAF) with its indirectee before jumping into bad memory, so we've
      lost the address of the CAF that got GC'd.
      
      Some associated refactoring while I was here.
      e82fa829
  5. Nov 14, 2013
    • Duncan Coutts's avatar
      Improve the shutdownHaskellAndSignal and add fast exit · a987b800
      Duncan Coutts authored
      This is the RTS part of a patch to base's topHandler to handle exiting
      by a signal.
      
      The intended behaviour is that on Unix, throwing ExitFailure (-sig)
      results in the process terminating with that signal. Previously
      shutdownHaskellAndSignal was only used for exiting with SIGINT due to
      the UserInterrupt exception.
      
      Improve shutdownHaskellAndSignal to do the signal part more carefully.
      In particular, it (should) now reliably terminates the process one way
      or another. Previusly if the signal was blocked, ignored or handled then
      shutdownHaskellAndSignal would actually return!
      
      Also, the topHandler code has two paths a careful shutdown and a "fast
      exit" where it does not give finalisers a chance to run. We want to
      support that mode also when we want to exit by signal. So rather than
      the base code directly calling stg_exit as it did before, we have a
      fastExit bool paramater for both shutdownHaskellAnd{Exit,Signal}.
      a987b800
    • Simon Marlow's avatar
      simplify processNurseryForDead · 5b0b83be
      Simon Marlow authored
      It wasn't actually broken, but it wasn't obviously right either.
      5b0b83be
    • Simon Marlow's avatar
      fix a small memory leak with +RTS -hb · 334545e0
      Simon Marlow authored
      334545e0
  6. Nov 02, 2013
  7. Nov 01, 2013
  8. Oct 28, 2013
  9. Oct 27, 2013
  10. Oct 26, 2013
  11. Oct 25, 2013
  12. Oct 21, 2013
  13. Oct 12, 2013
  14. Oct 11, 2013
Loading