Disabling GC in D

Dibyendu Majumdar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jan 22 01:31:37 PST 2016


On Friday, 22 January 2016 at 05:15:13 UTC, Mike Parker wrote:
> On Thursday, 21 January 2016 at 23:06:55 UTC, Dibyendu Majumdar 
> wrote:
>> On Thursday, 21 January 2016 at 22:44:14 UTC, H. S. Teoh wrote:
>>>> Hi - I want to be sure that my code is not allocating memory 
>>>> via the GC allocator; but when shipping I don't need to 
>>>> disable GC - it is mostly a development check.
>>>> 
>>>> I want to manage all memory allocation manually via 
>>>> malloc/free.
>>>
> You can also compile with -vgc and it will tell you where gc 
> allocations are taking place.
>

Thanks!


More information about the Digitalmars-d-learn mailing list