[Issue 20567] New: GC should not start threads for parallel marking in simple programs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 8 08:28:07 UTC 2020


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

          Issue ID: 20567
           Summary: GC should not start threads for parallel marking in
                    simple programs
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: r.sagitario at gmx.de

A simple program like

void main()
{
    char[] buf = new char[2048];
}

runs 3 collections and starts multiple threads for parallel marking. This
should be avoided by default.

--


More information about the Digitalmars-d-bugs mailing list