[concurrency-interest] Attempt at yet another mostly-concurrent result cache
peter.kovacs.1.0rc at gmail.com
Tue Jan 9 04:57:18 EST 2007
The code immediately preceding the synchronization on "batch" appears
to make sure "batch" is not null. And since "batch" is a stack
variable who else could alter it?
On 1/9/07, Brian Goetz <brian at quiotix.com> wrote:
> > // SYNC1
> > synchronized (batch)
> At this point, isn't batch still null? You can't sync on a null object...
> I think the third example has the same problem.
> Concurrency-interest mailing list
> Concurrency-interest at altair.cs.oswego.edu
More information about the Concurrency-interest