|
From: | Etienne M. Gagnon |
Subject: | Re: java.util.Hashtable.size()/isEmpty() |
Date: | Fri, 15 Feb 2002 09:42:04 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020211 |
Etienne M. Gagnon wrote:
Time 2 Processor 2:uses locks to read var1. This forces all "write" caches on all processor to "flush" to memory, and the local "read" cache to be updated.
Small error. No "write cache flush" required. The write flush is done as part of synchronization "independently on each processor".
Only thing required: "read cache update". My counter-example still works. Etienne -- Etienne M. Gagnon http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/
[Prev in Thread] | Current Thread | [Next in Thread] |