For example I have a mutable class Foo (or ArrayList for example) with no synchronization. Construction of such an object needs time so I'd like to perform it in a separate thread.
If I store the result of the computation somewhere and later access it from another thread, that would not be thread safe, because synchronization or volatile is required, right? (I am actually not quite sure here)
So I'm looking for a way to pass such an object from one thread to another without synchronizing of Foo.