I haven't used that annotation personally (so somebody that knows better
can correct me if I'm wrong here), but I think it is.  If you look at the
implementations of org.codehaus.groovy.runtime.memoize.MemoizeCache
(org.codehaus.groovy.runtime.memoize.UnlimitedConcurrentCache and
org.codehaus.groovy.runtime.memoize.LRUCache), they both use synchronized
collections for their caches.

If I'm understanding this correctly, should we maybe mention the fact
@Memoized is thread-safe in its Javadoc?

-Keegan

On Wed, Jul 1, 2015 at 9:39 AM, David Clark <plotinussm...@gmail.com> wrote:

> Quick question. Is the cache that the Memoized AST creates thread safe?
>

Reply via email to