[infinispan-dev] StoreByValueTest tck test

Vladimir Blagojevic vblagoje at redhat.com
Thu Jan 24 12:44:36 EST 2013


On 13-01-24 11:26 AM, Sanne Grinovero wrote:
> It's important to note that Infinispan's implementation of storing as
> binary isn't guaranteeing different instances of objects are returned
> to different get() invocations (especially when they happen in
> parallel).
>
> This is the reason for example that Hibernate OGM can't use this flag
> to have safe and independent instances, but needs to make defensive
> copies if returned values. As I read in your first post, you want to
> use this for defensive copies: that doesn't work, especially if the
> TCK is performing concurrent requests.
>
Yep, we need different instances. Damn, this does not look good!
Let me investigate further.

Thanks Sanne,
Vladimir


More information about the infinispan-dev mailing list