[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java.util.Hashtable.size()/isEmpty()

From: Sascha Brawer
Subject: Re: java.util.Hashtable.size()/isEmpty()
Date: Fri, 15 Feb 2002 16:47:09 +0100

Etienne M. Gagnon <address@hidden> wrote on Fri, 15 Feb
2002 09:33:04 -0500:

> The "synchronize" will force the "current processor" to update its data 
> cache.  Without the synchronize keyword, [another] processor could read
> an obsolete value from its local cache, even though all other methods are
> synchronized.

Thanks for the explanations -- I've learnt something. Also, chapter 8 of
the Java Virtual Machine Specification helped me understanding the issue.

So, please forget my patch suggestion for java.util.Hashtable.

-- Sascha

reply via email to

[Prev in Thread] Current Thread [Next in Thread]