[D-runtime] druntime commit, revision 496
Steven Schveighoffer
schveiguy at yahoo.com
Sun Jan 16 13:32:21 PST 2011
Is this still an issue? I saw from another message that there are other problems?
Two things: I didn't test using dll's or so's. Also the new code heavily depends on thread local storage and static shared and unshared ctors. The ctor part is very new.
I remember someone in the ng having problems with tls and dlls.
Sent from my iPhone
On Jan 15, 2011, at 8:48 PM, Walter Bright <walter at digitalmars.com> wrote:
> This change breaks the windows dll tests.
>
> dsource.org wrote:
>> druntime commit, revision 496
>>
>>
>> user: schveiguy
>>
>> msg:
>> Array append LRU cache prevents array memory from being collected. This fixes that problem. See bugzilla 3929
>>
>> Implemented via malloc/free for the cache, and and also a hook from the GC to allow purging of the caches during a collection cycle.
>>
>> Deleting an array also now removes it from the cache.
>>
>> UNTESTED ON MACOSX! Works on Windows/Linux.
>>
>> http://www.dsource.org/projects/druntime/changeset/496
>>
>> paths changed:
>> U trunk/src/core/thread.d
>> U trunk/src/gc/gc.d
>> U trunk/src/gc/gcx.d
>> U trunk/src/rt/lifetime.d
>>
>> _______________________________________________
>> D-runtime mailing list
>> D-runtime at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/d-runtime
>>
>>
>>
> _______________________________________________
> D-runtime mailing list
> D-runtime at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/d-runtime
More information about the D-runtime
mailing list