www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17431] New: GCBits should be nogc to prevent deadlocks

https://issues.dlang.org/show_bug.cgi?id=17431

          Issue ID: 17431
           Summary: GCBits should be  nogc to prevent deadlocks
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: code dawg.eu

To not trigger recursive locks of the GC, e.g. when adding a new Pool.
Vladimir found a deadlock, apparently caused by an onOutOfMemory call in
GCBits.alloc.

--
May 24 2017