[D-runtime] druntime commit, revision 496

Walter Bright walter at digitalmars.com
Sat Jan 15 17:48:36 PST 2011


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
>
>
>   


More information about the D-runtime mailing list