1. 23 Jan, 2012 3 commits
  2. 20 Jan, 2012 2 commits
  3. 19 Jan, 2012 3 commits
  4. 18 Jan, 2012 1 commit
  5. 17 Jan, 2012 3 commits
  6. 13 Jan, 2012 2 commits
  7. 19 Dec, 2011 2 commits
  8. 18 Dec, 2011 2 commits
  9. 16 Dec, 2011 2 commits
  10. 15 Dec, 2011 5 commits
    • Ian Lynagh's avatar
      Remove some dead code · 40ef62f6
      Ian Lynagh authored
    • dimitris's avatar
    • Simon Marlow's avatar
      Fix a path, and strip out C++ comments too · 3d7e772f
      Simon Marlow authored
    • Simon Marlow's avatar
      Support for reducing the number of Capabilities with setNumCapabilities · 9bae7915
      Simon Marlow authored
      This patch allows setNumCapabilities to /reduce/ the number of active
      capabilities as well as increase it.  This is particularly tricky to
      do, because a Capability is a large data structure and ties into the
      rest of the system in many ways.  Trying to clean it all up would be
      extremely error prone.
      So instead, the solution is to mark the extra capabilities as
      "disabled".  This has the following consequences:
        - threads on a disabled capability are migrated away by the
          scheduler loop
        - disabled capabilities do not participate in GC
          (see scheduleDoGC())
        - No spark threads are created on this capability
          (see scheduleActivateSpark())
        - We do not attempt to migrate threads *to* a disabled
          capability (see schedulePushWork()).
      So a disabled capability should do no work, and does not participate
      in GC, although it remains alive in other respects.  For example, a
      blocked thread might wake up on a disabled capability, and it will get
      quickly migrated to a live capability.  A disabled capability can
      still initiate GC if necessary.  Indeed, it turns out to be hard to
      migrate bound threads, so we wait until the next GC to do this (see
      comments for details).
    • dimitris's avatar
  11. 14 Dec, 2011 5 commits
  12. 13 Dec, 2011 10 commits