|
Re: [CDO][0.8.0] Concurrency [message #106170 is a reply to message #106101] |
Fri, 04 January 2008 17:27 |
Eclipse User |
|
|
|
Originally posted by: stepper.sympedia.de
Simon,
That's a good idea. I was too eager with sparing synced statements ;-(
https://bugs.eclipse.org/bugs/show_bug.cgi?id=214370
Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j
Simon McDuff schrieb:
> I updating our prodcution system with the latest version of CDO.
> (we are still using the version from october)
>
> I'm going through all the changes we've made... and it is funny that we
> found the same fixes at many places.
>
> One of them.. we have almost the same change.
>
> The problem with CDOViewImpl.getObject() its that we need to put
> synchronization around lastLookup and when we assign the lastLookup
>
> if (id.equals(lastLookupID))
> {
> << CONTEXT COULD SWITCH HERE !!!
> return lastLookupObject;
> }
>
> Let me know what you think.
>
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02995 seconds