Hello,
I'm thinking of using the JavaSpaces services from just a single vm,
something like a shared space for all the threads in the local vm. Is
there a way to start the JavaSpaces service without JERI and all that so
that I have no network overhead as everything is happening in the same
single vm anyway? My idea is to use JavaSpaces for dealing with
concurrency when doing multi-core programming.
Then I'm thinking of using the JavaSpaces service in some STM-like way,
that is without any blocking (e.g. no blocking reads and takes). Problem
is that transactions could still deadlock and I'm not guaranteed to be
deadlock-safe as with STM. So I'm asking myself what will happen when
some transactions run into a deadlock. Will one be rolled back after a
timeout or will the deadlock just remain?
Thanks for any answers.
Regards, Oliver
--
www.objectscape.org