D array expansion and non-deterministic re-allocation
Denis Koroskin
2korden at gmail.com
Tue Nov 17 07:00:18 PST 2009
Walter Bright Wrote:
> Denis Koroskin wrote:
> > It is *non*-deterministic. The decision to reallocate depends (or will
> > depend) on LRU and it may be cleared by another thread (e.g. another
> > thread may reset it manually or via a GC cycle run).
>
> The LRU is thread local.
It will then prevent a moving GC from being possible in D.
Otherwise, moving a block of data will invalidate LRU which will result in non-deterministic reallocation.
More information about the Digitalmars-d
mailing list