Understanding GC memory ranges and roots

Atila Neves atila.neves at gmail.com
Wed Jul 8 11:54:31 UTC 2020


On Tuesday, 7 July 2020 at 22:36:35 UTC, rikki cattermole wrote:
> On 07/07/2020 11:50 PM, Steven Schveighoffer wrote:
>> If you are adding prints, you may as well throw an exception, 
>> catch it, and print the stack trace if you want to know who's 
>> calling what.
>
> You won't be able to new the Exception tho.
> It'll have to be malloc'd ext.
>
> In GC -> lock probably hit -> new -> wait on lock

-preview=dip1008


More information about the Digitalmars-d mailing list