On 05/26/2011 11:56 AM, Charles Oliver Nutter wrote:
> On Thu, May 26, 2011 at 4:52 AM, Rémi Forax<fo...@univ-mlv.fr>  wrote:
>> As John says,  if isValid return true,
>> you know nothing because it's perhaps not true anymore.
> Not true. You know if it was valid when you queried it. That will be
> enough for many use cases (including mine).
>
> Your assertion could also be made about any state that's not volatile,
> of course. I don't think it's fair to say you know nothing about a
> bean's getSomething just because it could change immediately after,
> and it doesn't mean that having getSomething is not useful. It just
> means you need to be aware of threading effects...which pretty much
> describes all concurrently mutable state, doesn't it? ;)

You're right :)

> - Charlie

Rémi
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to