Garbage collector collects live objects

Ruslan Mullakhmetov via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Dec 12 05:05:57 PST 2014


On Friday, 12 December 2014 at 12:53:00 UTC, Ruslan Mullakhmetov 
wrote:
> On Thursday, 11 December 2014 at 18:36:59 UTC, Steven 
> Schveighoffer wrote:
>> My analysis so far:
>>
>> 4. If your code is multi-threaded, but using __gshared, it can 
>> make the cache incorrect. Are you doing this?
>>
>
> the app is multi-threaded via std.concurrency.
>
> there is only one known to me place where __gshared is used: 
> logging library (checked by searching through whole source 
> tree). make stub for this lib and try, so identify whether 
> cache invalidated by _gshared or not.
>


removing __gshared seems does not helped.


More information about the Digitalmars-d-learn mailing list