Alexandru Popescu ☀ schrieb:
[...]
If a MetaClass is changed in another thread, when exactly
needs the current thread respect this?
[...]
I think the change should follow (if possible) the Java Memory Model,
and so affect concurrent threads if there are any happens-before
elements available.
well, ok, but how does this answer the question? John, how does Ng
behave here?
However, I do believe that before getting to this optimization we
should be looking for the general solution and only after
benchmarking/profiling that one we should invest time in such
contextual optimizations.
I do not see this as an optimization, I see i as a hole in the
documentation. The optimizations we can do depend on the answer to the
question above.
bye blackdrag
--
Jochen "blackdrag" Theodorou
The Groovy Project Tech Lead (http://groovy.codehaus.org)
http://blackdragsview.blogspot.com/
http://www.g2one.com/
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email