Skip to content
  • Ben Gamari's avatar
    3f6e8f42
    nonmoving: Refactor management of mark thread · 3f6e8f42
    Ben Gamari authored and Marge Bot's avatar Marge Bot committed
    Here we refactor that treatment of the worker thread used by the
    nonmoving GC for concurrent marking, avoiding creating a new thread with
    every major GC cycle. As well, the new scheme is considerably easier to
    reason about, consolidating all state in one place, accessed via a small
    set of accessors with clear semantics.
    3f6e8f42
    nonmoving: Refactor management of mark thread
    Ben Gamari authored and Marge Bot's avatar Marge Bot committed
    Here we refactor that treatment of the worker thread used by the
    nonmoving GC for concurrent marking, avoiding creating a new thread with
    every major GC cycle. As well, the new scheme is considerably easier to
    reason about, consolidating all state in one place, accessed via a small
    set of accessors with clear semantics.
Loading