Disable GC entirely

Rob T alanb at ucora.com
Sat Apr 6 15:29:40 PDT 2013


On Saturday, 6 April 2013 at 21:29:20 UTC, Peter Alexander wrote:
> On Saturday, 6 April 2013 at 11:01:09 UTC, bearophile wrote:
>> Peter Alexander:
>>
>>> I also use a modified druntime that prints callstacks when a 
>>> GC allocation occurs, so I know if it happens by accident.
>>
>> Is it possible to write a patch to activate those prints with 
>> a compiler switch?
>
> Yes, but I don't have time to do that right now.

We lack decent tools to even understand what the GC is doing, so 
that's the sort of thing that should be built directly into D 
rather than as a patch.

--rt


More information about the Digitalmars-d mailing list