[Issue 19535] New: Enable GC in compiler

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 1 02:55:12 UTC 2019


          Issue ID: 19535
           Summary: Enable GC in compiler
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: dhasenan at gmail.com

The compiler currently has a major memory strategy of allocate-and-never-free.
Partly because of this, it often requires very large amounts of RAM to compile

The compiler's not ready to just flip the switch and enable garbage collection,
so this will take some doing.

1. Add a makefile flag to build with GC enabled. This will make testing easier.
2. Build a lot of code (eg every version of every dub project) with this
3. Track down related bugs.
4. Fix them.


More information about the Digitalmars-d-bugs mailing list