> then check the id upon entering the ctx lock
>
> if ok go on
> if not get ctx again
>
> 100% safe

Just an additional note: only 100% safe if we make sure that instances that
are thrown away because of removal or exception does not have the id
associated with the ctx. If this is not done the instance interceptor might
get a context with the right id, although the context is invalid.

/Rickard



Reply via email to