More radical ideas about gc and reference counting

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Tue May 13 10:38:03 PDT 2014


On Tue, 13 May 2014 13:37:05 -0400, Steven Schveighoffer  
<schveiguy at yahoo.com> wrote:

> On Tue, 13 May 2014 13:36:17 -0400, Daniel Murphy  
> <yebbliesnospam at gmail.com> wrote:
>
>> "Steven Schveighoffer"  wrote in message  
>> news:op.xfs6jhp3eav7ka at stevens-macbook-pro-2.local...
>>
>>> If a thread is doing only reads, or is  only touching non-Scanned  
>>> memory, it continues.
>>
>> How long do threads usually go without touching the stack?
>
> The stack would have to be COW.

No sorry, the stack only contains roots, so it can be marked as "safe to  
use" pretty quickly.

-Steve


More information about the Digitalmars-d mailing list