[D-runtime] druntime commit, revision 496

Steve Schveighoffer schveiguy at yahoo.com
Mon Jan 10 07:04:45 PST 2011


If someone finds this fails on MacOS, please let me know.

-Steve




----- Original Message ----
> From: dsource.org <noreply at dsource.org>
> To: d-runtime at puremagic.com
> Sent: Mon, January 10, 2011 9:56:22 AM
> Subject: [D-runtime] druntime commit, revision 496
> 
> 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